/* ==========================================================================
   VIDHYA LAKSHMI FINTECH - website styles

   CONTENTS
     1.  Fonts
     2.  Colours and sizes (edit here to change the look)
     3.  Base
     4.  Helpers (container, buttons, headings, reveal animation)
     5.  Header: brand bar and main menu
     6.  Banner slider
     7.  Promise strip
     8.  Service cards
     9.  Why choose us
     10. About us
     11. Service sections
     12. Featured properties
     13. How we work
     14. Contact and enquiry form
     15. Footer
     16. Floating buttons
     17. Tablets and phones
     18. Reduced motion and print
   ========================================================================== */


/* ==========================================================================
   1. FONTS (all files are inside assets/fonts - no internet needed)
   ========================================================================== */

@font-face {
    font-family: "Poppins";
    src: url("../assets/fonts/poppins-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../assets/fonts/poppins-latin-500-normal.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../assets/fonts/poppins-latin-600-normal.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../assets/fonts/poppins-latin-700-normal.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../assets/fonts/poppins-latin-800-normal.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Cinzel";
    src: url("../assets/fonts/cinzel-latin-700-normal.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Cinzel";
    src: url("../assets/fonts/cinzel-latin-900-normal.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Great Vibes";
    src: url("../assets/fonts/great-vibes-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Noto Sans Tamil";
    src: url("../assets/fonts/noto-sans-tamil-tamil-700-normal.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC;
}


/* ==========================================================================
   2. COLOURS AND SIZES
   ========================================================================== */

:root {
    /* brand colours (taken from the logo) */
    --navy-950: #020c26;
    --navy-900: #04143a;
    --navy-800: #071d50;
    --navy-700: #0b2a6b;
    --navy-600: #12357f;
    --blue-500: #1f6fe0;
    --blue-100: #e6eefc;

    --gold-700: #8f6207;
    --gold-600: #b97d08;
    --gold-500: #dba126;
    --gold-400: #efbd45;
    --gold-300: #f8d778;
    --gold-100: #fff4d1;

    --gold-gradient: linear-gradient(180deg, #fff3b8 0%, #f6c64a 46%, #c98a12 100%);
    --gold-button: linear-gradient(180deg, #fbe08d 0%, #e9b53c 55%, #d19a1c 100%);
    --navy-gradient: linear-gradient(120deg, #020c26 0%, #071d50 55%, #0b2a6b 100%);

    /* text and surfaces */
    --ink: #0a1a3f;
    --text: #2b3552;
    --muted: #5a6685;
    --line: #d8deec;
    --surface: #ffffff;
    --page: #f4f6fb;
    --tint: #eaf0fb;

    --ok: #0b6b3a;
    --ok-bg: #e2f6ea;
    --warn: #7a4a00;
    --warn-bg: #fff1cf;
    --error: #b3202a;

    /* sizes */
    --container: 1240px;
    --brand-h: 176px;       /* height of the brand bar */
    --nav-h: 62px;          /* height of the menu bar  */
    --radius: 18px;
    --shadow: 0 14px 36px rgba(4, 20, 58, 0.14);
    --shadow-soft: 0 6px 18px rgba(4, 20, 58, 0.10);

    /* fonts */
    --font-body: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    --font-brand: "Cinzel", "Times New Roman", Georgia, serif;
    --font-script: "Great Vibes", "Segoe Script", "Brush Script MT", cursive;
    --font-tamil: "Noto Sans Tamil", "Nirmala UI", "Latha", sans-serif;
}


/* ==========================================================================
   3. BASE
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 18px);   /* sections stop below the sticky menu */
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--page);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

img {
    height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid var(--gold-400);
    outline-offset: 3px;
}

[hidden] {
    display: none !important;
}


/* ==========================================================================
   4. HELPERS
   ========================================================================== */

.container {
    width: min(var(--container), 100% - 40px);
    margin-inline: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 1000;
    padding: 10px 18px;
    border-radius: 10px;
    background: var(--gold-400);
    color: var(--navy-900);
    font-weight: 700;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 12px;
}

/* ---- buttons ---- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn i {
    font-size: 0.9em;
    transition: transform 0.2s;
}

.btn:hover .fa-arrow-right {
    transform: translateX(4px);
}

.btn--gold {
    background: var(--gold-button);
    border-color: var(--gold-600);
    color: var(--navy-950);
    box-shadow: 0 8px 20px rgba(185, 125, 8, 0.35);
}

.btn--gold:hover {
    box-shadow: 0 12px 26px rgba(185, 125, 8, 0.45);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.75);
    color: #ffffff;
}

.btn--ghost:hover {
    background: #ffffff;
    color: var(--navy-900);
}

.btn--navy {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: #ffffff;
    box-shadow: var(--shadow-soft);
}

.btn--navy:hover {
    background: var(--navy-900);
    color: var(--gold-300);
}

.btn--small {
    padding: 9px 18px;
    font-size: 0.9rem;
    border-radius: 999px;
}

.btn--block {
    width: 100%;
}

/* ---- sections and headings ---- */

.section {
    padding: 88px 0;
}

.section--tint {
    background: linear-gradient(180deg, var(--tint) 0%, #f4f7fd 100%);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-head__script {
    font-family: var(--font-script);
    font-size: 2.7rem;
    line-height: 1.1;
    color: var(--gold-600);
}

.section-head__title {
    position: relative;
    padding-bottom: 20px;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--ink);
}

/* gold line with a small diamond under the title */
.section-head__title::before,
.section-head__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
}

.section-head__title::before {
    width: 150px;
    height: 3px;
    margin-left: -75px;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.section-head__title::after {
    width: 11px;
    height: 11px;
    margin: 0 0 -4px -5.5px;
    background: var(--gold-500);
    transform: rotate(45deg);
}

.section-head__text {
    margin-top: 16px;
    font-size: 1.08rem;
    color: var(--muted);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-700);
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 3px;
    border-radius: 3px;
    background: var(--gold-500);
}

.eyebrow--light {
    color: var(--gold-300);
}

.section-title {
    margin-bottom: 16px;
    font-size: clamp(1.6rem, 2.8vw, 2.25rem);
    font-weight: 800;
    line-height: 1.22;
    color: var(--ink);
}

.section-title--light {
    color: #ffffff;
}

/* ---- gentle "appear on scroll" animation (only when JavaScript is on) ---- */

.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}


/* ==========================================================================
   5. HEADER : brand bar and main menu
   The whole header sticks to the top; the brand bar scrolls out of view
   and only the menu bar stays.
   ========================================================================== */

.site-header {
    position: sticky;
    top: calc(var(--brand-h) * -1);
    z-index: 100;
}

/* ---- brand bar ---- */

.brand-bar {
    position: relative;
    height: var(--brand-h);
    overflow: hidden;
    background:
        radial-gradient(60% 140% at 22% 50%, rgba(31, 111, 224, 0.42), transparent 70%),
        radial-gradient(40% 120% at 88% 30%, rgba(219, 161, 38, 0.20), transparent 70%),
        var(--navy-gradient);
}

.brand-bar__curves {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    pointer-events: none;
}

.brand-bar__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
}

.brand__emblem {
    flex: 0 0 auto;
    width: 156px;
    height: 156px;
    border-radius: 50%;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
    transition: transform 0.4s;
}

.brand:hover .brand__emblem {
    transform: scale(1.04) rotate(-2deg);
}

.brand__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    line-height: 1.05;
    text-align: center;
}

.brand__name {
    font-family: var(--font-brand);
    font-weight: 900;
    font-size: clamp(2.2rem, 4.5vw, 3.9rem);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.12;
    padding: 0.08em 0.04em 0;      /* gradient text is cut at the edge of its box, so give the letters room */
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.55));
}

.brand__sub {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin-top: 0;
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: clamp(1.1rem, 2.2vw, 1.9rem);
    letter-spacing: 0.34em;
    text-indent: 0.34em;
    text-transform: uppercase;
    color: #f4f6ff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* gold lines left and right of the word FINTECH */
.brand__sub::before,
.brand__sub::after {
    content: "";
    flex: 1;
    height: 3px;
    border-radius: 3px;
}

.brand__sub::before {
    background: linear-gradient(90deg, transparent, var(--gold-400));
}

.brand__sub::after {
    background: linear-gradient(90deg, var(--gold-400), transparent);
}

.brand__tamil {
    margin-top: 6px;
    font-family: var(--font-tamil);
    font-weight: 700;
    font-size: clamp(0.95rem, 1.75vw, 1.5rem);
    letter-spacing: 0.04em;
    line-height: 1.4;
    color: var(--gold-300);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* ---- tagline on the right ---- */

.tagline {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex: 0 0 auto;
}

.tagline__art {
    width: 210px;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.tagline__words {
    display: flex;
    flex-direction: column;
    font-weight: 800;
    font-size: 1.32rem;
    line-height: 1.22;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-300);
}

.tagline__words .tagline__last {
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ffffff;
    white-space: nowrap;
}

/* ---- main menu ---- */

.main-nav {
    position: relative;
    height: var(--nav-h);
    background: var(--navy-950);
    border-top: 2px solid var(--gold-500);
    border-bottom: 2px solid var(--gold-500);
    box-shadow: 0 8px 22px rgba(2, 12, 38, 0.35);
}

.main-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    height: 100%;
}

/* small logo: fades in when the menu sticks to the top */
.main-nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    font-family: var(--font-brand);
    font-weight: 900;
    font-size: 1.12rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--gold-300);
}

.main-nav__brand img {
    width: 44px;
    height: 44px;
}

.main-nav__brand b {
    font-weight: 700;
    color: #ffffff;
}

.site-header.is-stuck .main-nav__brand {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.main-nav__menu {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border: 1.5px solid rgba(239, 189, 69, 0.65);
    border-radius: 14px;
    background: rgba(7, 29, 80, 0.55);
}

.main-nav__menu a {
    display: block;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 0.93rem;
    font-weight: 500;
    white-space: nowrap;
    color: #ffffff;
    transition: background-color 0.2s, color 0.2s;
}

.main-nav__menu a:hover {
    background: rgba(239, 189, 69, 0.18);
    color: var(--gold-300);
}

.main-nav__menu a.is-active {
    background: var(--gold-button);
    color: var(--navy-950);
    font-weight: 700;
}

/* short tagline in the menu bar (phones and tablets only, see section 17) */
.main-nav__tag {
    display: none;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--gold-300);
}

/* hamburger button (phones and tablets only) */
.main-nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 42px;
    padding: 0;
    border: 2px solid var(--gold-500);
    border-radius: 10px;
    background: transparent;
}

.main-nav__bars,
.main-nav__bars::before,
.main-nav__bars::after {
    display: block;
    width: 22px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--gold-300);
    transition: transform 0.25s, opacity 0.25s, background-color 0.25s;
}

.main-nav__bars {
    position: relative;
}

.main-nav__bars::before,
.main-nav__bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.main-nav__bars::before {
    top: -7px;
}

.main-nav__bars::after {
    top: 7px;
}

.main-nav__toggle[aria-expanded="true"] .main-nav__bars {
    background: transparent;
}

.main-nav__toggle[aria-expanded="true"] .main-nav__bars::before {
    transform: translateY(7px) rotate(45deg);
}

.main-nav__toggle[aria-expanded="true"] .main-nav__bars::after {
    transform: translateY(-7px) rotate(-45deg);
}


/* ==========================================================================
   6. BANNER SLIDER
   ========================================================================== */

.hero {
    position: relative;
    /* as tall as the free part of the first screen, but never below 480px or above 700px */
    height: clamp(480px, min(45vw, 100vh - var(--brand-h) - var(--nav-h)), 700px);
    overflow: hidden;
    background: var(--navy-950);
}

.hero__slides {
    position: absolute;
    inset: 0;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s ease, visibility 0.9s;
}

.slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
    transform: scale(1.08);
}

/* slow zoom while the slide is on screen */
.slide.is-active .slide__img {
    animation: slide-zoom 9s ease-out forwards;
}

@keyframes slide-zoom {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1);
    }
}

/* dark side for the text */
.slide__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 12, 38, 0.94) 0%, rgba(2, 12, 38, 0.82) 26%, rgba(2, 12, 38, 0.38) 50%, rgba(2, 12, 38, 0) 68%),
        linear-gradient(0deg, rgba(2, 12, 38, 0.55) 0%, rgba(2, 12, 38, 0) 34%);
}

.slide__content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    padding-bottom: 96px;      /* room for the service buttons */
}

.slide__content > * {
    max-width: 600px;
}

.slide__script {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 4.6vw, 4.2rem);
    line-height: 1.15;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.5));
    padding-right: 0.25em;     /* keeps the last swash of the script font inside the box */
}

.slide__title {
    margin-top: 2px;
    font-size: clamp(1.9rem, 3.6vw, 3.25rem);
    font-weight: 800;
    line-height: 1.14;
    color: #ffffff;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.5);
}

.slide__title span {
    display: block;
    color: var(--gold-300);
}

.slide__text {
    margin-top: 16px;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    font-weight: 500;
    color: #e8eeff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.slide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

/* the text of a slide moves in, one line after the other */
.js .slide__content > * {
    opacity: 0;
    transform: translateY(26px);
}

.js .slide.is-active .slide__content > * {
    animation: slide-text 0.8s ease forwards;
}

.js .slide.is-active .slide__content > :nth-child(1) {
    animation-delay: 0.15s;
}

.js .slide.is-active .slide__content > :nth-child(2) {
    animation-delay: 0.3s;
}

.js .slide.is-active .slide__content > :nth-child(3) {
    animation-delay: 0.45s;
}

.js .slide.is-active .slide__content > :nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes slide-text {
    to {
        opacity: 1;
        transform: none;
    }
}

/* ---- arrows ---- */

.hero__arrow {
    position: absolute;
    top: calc(50% - 48px);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 2px solid rgba(239, 189, 69, 0.8);
    border-radius: 50%;
    background: rgba(2, 12, 38, 0.55);
    color: #ffffff;
    font-size: 1.15rem;
    transform: translateY(-50%);
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.hero__arrow:hover {
    background: var(--gold-400);
    color: var(--navy-950);
    transform: translateY(-50%) scale(1.08);
}

.hero__arrow--prev {
    left: 18px;
}

.hero__arrow--next {
    right: 18px;
}

/* ---- service buttons along the bottom of the banner ---- */

.hero__tabs {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    background: linear-gradient(0deg, rgba(2, 12, 38, 0.95) 0%, rgba(2, 12, 38, 0.72) 100%);
    border-top: 1px solid rgba(239, 189, 69, 0.45);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.hero__tabs-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.hero-tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 82px;
    padding: 12px 8px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
    font-size: 1.02rem;
    font-weight: 600;
    color: #ffffff;
    transition: background-color 0.2s, color 0.2s;
}

.hero-tab:first-child {
    border-left: 0;
}

.hero-tab i {
    font-size: 1.7rem;
    color: var(--gold-400);
    transition: transform 0.25s;
}

.hero-tab:hover {
    background: rgba(239, 189, 69, 0.12);
}

.hero-tab:hover i,
.hero-tab.is-active i {
    transform: translateY(-3px) scale(1.1);
}

.hero-tab.is-active {
    color: var(--gold-300);
    background: rgba(239, 189, 69, 0.10);
}

/* gold line on top of the open service; it fills while the slide is shown */
.hero-tab::before {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    width: 100%;
    height: 4px;
    background: var(--gold-400);
    transform: scaleX(0);
    transform-origin: left center;
}

.hero-tab.is-active::before {
    transform: scaleX(1);
}

.hero.is-playing .hero-tab.is-active::before {
    animation: tab-progress var(--slide-time, 6s) linear forwards;
}

@keyframes tab-progress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/* pause / play */
.hero__pause {
    position: absolute;
    right: 18px;
    bottom: 100px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    background: rgba(2, 12, 38, 0.55);
    color: #ffffff;
    font-size: 0.85rem;
    transition: background-color 0.2s, color 0.2s;
}

.hero__pause:hover {
    background: #ffffff;
    color: var(--navy-900);
}


/* ==========================================================================
   7. PROMISE STRIP
   ========================================================================== */

.promise-strip {
    background: linear-gradient(90deg, #c98a12 0%, #f8d778 30%, #efbd45 60%, #c98a12 100%);
    border-bottom: 1px solid var(--gold-600);
}

.promise-strip__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 0;
    padding: 13px 0;
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--navy-950);
}

.promise-strip__list li {
    padding: 0 22px;
}

.promise-strip__list li + li {
    border-left: 2px solid rgba(2, 12, 38, 0.55);
}


/* ==========================================================================
   8. SERVICE CARDS
   ========================================================================== */

.section--services {
    background:
        radial-gradient(50% 60% at 0% 0%, rgba(31, 111, 224, 0.08), transparent 70%),
        radial-gradient(40% 50% at 100% 100%, rgba(219, 161, 38, 0.10), transparent 70%),
        var(--page);
}

.service-cards {
    --per-row: 5;
    --gap: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--gap);
}

.service-card {
    position: relative;
    display: flex;
    flex: 0 0 calc((100% - (var(--per-row) - 1) * var(--gap)) / var(--per-row));
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--navy-900);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(4, 20, 58, 0.28);
}

.service-card__media {
    display: block;
    aspect-ratio: 16 / 11;
    overflow: hidden;
}

.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.service-card:hover .service-card__media img {
    transform: scale(1.08);
}

.service-card__body {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 14px 22px;
    background: linear-gradient(160deg, var(--navy-700) 0%, var(--navy-900) 60%, var(--navy-950) 100%);
    text-align: center;
    color: #ffffff;
}

/* curved gold edge between the picture and the text */
.service-card__body::before,
.service-card__body::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
}

.service-card__body::before {
    top: -30px;
    height: 32px;
    background: var(--gold-400);
    clip-path: ellipse(78% 100% at 26% 100%);
}

.service-card__body::after {
    top: -25px;
    height: 27px;
    background: var(--navy-700);
    clip-path: ellipse(77% 100% at 26% 100%);
}

.service-card__title {
    font-size: 1.16rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.25;
    text-transform: uppercase;
}

.service-card__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.4;
    color: #e6ecff;
}

.service-card__tags span {
    padding: 2px 10px;
    border: 1px solid rgba(239, 189, 69, 0.45);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    white-space: nowrap;
}

.service-card__line {
    margin-top: 10px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--gold-300);
}

.service-card__go {
    position: absolute;
    right: 14px;
    top: -24px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 3px solid var(--navy-800);
    border-radius: 50%;
    background: var(--gold-button);
    color: var(--navy-950);
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.service-card:hover .service-card__go {
    transform: translateX(4px) scale(1.1);
}


/* ==========================================================================
   9. WHY CHOOSE US
   ========================================================================== */

.why {
    position: relative;
    overflow: hidden;
    padding: 46px 0;
    background:
        radial-gradient(50% 160% at 50% 0%, rgba(31, 111, 224, 0.35), transparent 70%),
        var(--navy-gradient);
    border-top: 3px solid var(--gold-500);
    border-bottom: 3px solid var(--gold-500);
    color: #ffffff;
}

.why__art {
    position: absolute;
    bottom: 0;
    width: 220px;
    height: auto;
    color: rgba(127, 178, 245, 0.28);
}

.why__art--left {
    left: 0;
}

.why__art--right {
    right: 0;
}

.why__inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
}

.why__title {
    flex: 0 0 auto;
    font-family: var(--font-brand);
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--gold-300);
}

.why__title span {
    display: block;
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: #ffffff;
}

.why__list {
    display: grid;
    flex: 1;
    grid-template-columns: repeat(5, 1fr);
}

.why__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
}

.why__item i {
    font-size: 2.3rem;
    color: var(--gold-400);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.why__item span {
    max-width: 130px;
}


/* ==========================================================================
   10. ABOUT US
   ========================================================================== */

.about {
    display: grid;
    grid-template-columns: 5fr 6fr;
    align-items: center;
    gap: 64px;
}

.logo-panel {
    position: relative;
    padding: 46px 34px 34px;
    border: 2px solid var(--gold-500);
    border-radius: 26px;
    background:
        radial-gradient(70% 70% at 30% 20%, rgba(31, 111, 224, 0.5), transparent 70%),
        var(--navy-gradient);
    box-shadow: 0 26px 60px rgba(4, 20, 58, 0.35);
}

/* gold frame behind the panel */
.logo-panel::before {
    content: "";
    position: absolute;
    inset: 22px -18px -18px 22px;
    z-index: -1;
    border: 3px solid var(--gold-400);
    border-radius: 26px;
}

.about__logo {
    position: relative;
    z-index: 0;
}

.logo-panel img {
    width: 100%;
    filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.55));
}

.logo-panel__line {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(239, 189, 69, 0.45);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.6;
    text-align: center;
    color: var(--gold-300);
}

.about__text > p {
    margin-bottom: 14px;
    font-size: 1.05rem;
}

.about__text .btn {
    margin-top: 12px;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 64px;
}

.pillars li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-left: 5px solid var(--gold-500);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.pillars i {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--navy-gradient);
    color: var(--gold-300);
    font-size: 1.3rem;
}

.pillars h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
}

.pillars p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--muted);
}


/* ==========================================================================
   11. SERVICE SECTIONS (picture on one side, text on the other)
   ========================================================================== */

.service__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
}

/* every second section shows the picture on the right */
.service--flip .service__media {
    order: 2;
}

.service__media {
    position: relative;
    z-index: 0;
}

.service__media img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 24px 54px rgba(4, 20, 58, 0.30);
}

/* gold frame behind the picture */
.service__media::before {
    content: "";
    position: absolute;
    inset: 20px -18px -18px 20px;
    z-index: -1;
    border: 3px solid var(--gold-400);
    border-radius: 22px;
}

.service--flip .service__media::before {
    inset: 20px 20px -18px -18px;
}

.service__media figcaption {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border: 1.5px solid var(--gold-400);
    border-radius: 999px;
    background: rgba(2, 12, 38, 0.86);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.service__media figcaption i {
    color: var(--gold-400);
}

.service__text > p {
    font-size: 1.05rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 26px 0 28px;
}

.feature-grid li {
    display: grid;
    grid-template-columns: 46px 1fr;
    column-gap: 14px;
    align-content: start;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.feature-grid li:hover {
    transform: translateY(-4px);
    border-color: var(--gold-400);
    box-shadow: var(--shadow);
}

.feature-grid i {
    display: flex;
    grid-row: span 2;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--navy-gradient);
    color: var(--gold-300);
    font-size: 1.1rem;
}

.feature-grid h3 {
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ink);
}

.feature-grid p {
    margin-top: 3px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--muted);
}

.note {
    margin-bottom: 22px;
    padding: 10px 14px;
    border-left: 4px solid var(--gold-500);
    border-radius: 0 10px 10px 0;
    background: var(--gold-100);
    font-size: 0.86rem !important;
    line-height: 1.5;
    color: #5c4300;
}


/* ==========================================================================
   12. FEATURED PROPERTIES
   ========================================================================== */

.properties {
    display: grid;
    grid-template-columns: 1.05fr repeat(3, 1fr);
    align-items: center;
    gap: 24px;
    margin-top: 76px;
}

.properties__head h3 {
    margin-bottom: 18px;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--ink);
}

.property {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.property:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(4, 20, 58, 0.28);
}

.property img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.6s;
}

.property:hover img {
    transform: scale(1.07);
}

.property__name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    border-top: 2px solid var(--gold-400);
    background: rgba(2, 12, 38, 0.9);
    font-size: 1.02rem;
    font-weight: 600;
    text-align: center;
    color: #ffffff;
}


/* ==========================================================================
   13. HOW WE WORK
   ========================================================================== */

.section--steps {
    background: var(--surface);
}

.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    counter-reset: step;
}

/* dotted line that joins the four circles */
.steps::before {
    content: "";
    position: absolute;
    left: 12.5%;
    right: 12.5%;
    top: 42px;
    border-top: 3px dotted var(--gold-400);
}

.step {
    position: relative;
    text-align: center;
    counter-increment: step;
}

.step__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    margin: 0 auto 18px;
    border: 3px solid var(--gold-400);
    border-radius: 50%;
    background: var(--navy-gradient);
    box-shadow: 0 0 0 8px var(--surface), var(--shadow-soft);
    color: var(--gold-300);
    font-size: 1.7rem;
}

/* step number */
.step__icon::after {
    content: counter(step);
    position: absolute;
    right: -6px;
    top: -6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 2px solid var(--surface);
    border-radius: 50%;
    background: var(--gold-button);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--navy-950);
}

.step h3 {
    font-size: 1.14rem;
    font-weight: 700;
    color: var(--ink);
}

.step p {
    max-width: 250px;
    margin: 6px auto 0;
    font-size: 0.95rem;
    color: var(--muted);
}


/* ==========================================================================
   14. CONTACT AND ENQUIRY FORM
   ========================================================================== */

.section--contact {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(45% 70% at 12% 20%, rgba(31, 111, 224, 0.42), transparent 70%),
        radial-gradient(40% 60% at 90% 90%, rgba(219, 161, 38, 0.22), transparent 70%),
        var(--navy-gradient);
    color: #e8eeff;
}

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
}

.contact__info > p {
    font-size: 1.08rem;
}

.contact-list {
    display: grid;
    gap: 16px;
    margin-top: 30px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border: 1px solid rgba(239, 189, 69, 0.35);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.contact-list__icon {
    display: flex;
    flex: 0 0 50px;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold-button);
    color: var(--navy-950);
    font-size: 1.2rem;
}

.contact-list h3 {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-300);
}

.contact-list a,
.contact-list p {
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.45;
    color: #ffffff;
    overflow-wrap: anywhere;
}

.contact-list a:hover {
    color: var(--gold-300);
}

/* ---- enquiry card ---- */

.enquiry {
    position: relative;
    padding: 34px 40px 38px;
    border-radius: 26px;
    background: var(--surface);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
    color: var(--text);
}

/* thick gold curve on the left edge of the card */
.enquiry::before {
    content: "";
    position: absolute;
    left: -9px;
    top: 34px;
    bottom: 34px;
    width: 18px;
    border-radius: 18px 0 0 18px;
    background: var(--gold-button);
    box-shadow: 0 6px 16px rgba(185, 125, 8, 0.45);
    clip-path: inset(0 9px 0 0);
}

.enquiry__title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.24rem;
    font-weight: 700;
    line-height: 1.2;
}

.enquiry__title::before,
.enquiry__title::after {
    content: "";
    flex: 1;
    height: 2px;
}

.enquiry__title::before {
    background: linear-gradient(90deg, transparent, var(--gold-500));
}

.enquiry__title::after {
    background: linear-gradient(90deg, var(--gold-500), transparent);
}

.enquiry__title span {
    padding: 9px 30px;
    border-radius: 999px;
    background: var(--navy-900);
    color: var(--gold-300);
}

.enquiry__lead {
    margin: 14px 0 20px;
    text-align: center;
    color: var(--text);
}

.enquiry__form {
    display: grid;
    gap: 14px;
}

.field {
    position: relative;
}

.field__icon {
    position: absolute;
    left: 16px;
    top: 17px;
    font-size: 0.95rem;
    color: var(--navy-600);
    pointer-events: none;
}

.field input,
.field select,
.field textarea {
    display: block;
    width: 100%;
    padding: 13px 14px 13px 44px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--ink);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.field select {
    padding-right: 40px;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%230a1a3f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}

.field textarea {
    min-height: 96px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #6b7693;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--gold-500);
    box-shadow: 0 0 0 4px rgba(219, 161, 38, 0.22);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
    border-color: var(--error);
}

.field__error {
    display: none;
    margin-top: 5px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--error);
}

.field.has-error .field__error {
    display: block;
}

.enquiry__status {
    padding: 14px 16px;
    border: 1.5px solid;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
}

.enquiry__status.is-ok {
    border-color: #9bd8b4;
    background: var(--ok-bg);
    color: var(--ok);
}

.enquiry__status.is-info {
    border-color: #f0c66d;
    background: var(--warn-bg);
    color: var(--warn);
}

.enquiry__status strong {
    display: block;
    font-weight: 700;
}


/* ==========================================================================
   15. FOOTER
   ========================================================================== */

.site-footer {
    background: var(--navy-950);
    border-top: 3px solid var(--gold-500);
    color: #c9d4f0;
    font-size: 0.96rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.9fr 1.3fr;
    gap: 44px;
    padding: 60px 0 44px;
}

.site-footer__about img {
    width: 300px;
    margin-bottom: 18px;
}

.site-footer h2 {
    position: relative;
    margin-bottom: 18px;
    padding-bottom: 10px;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--gold-300);
}

.site-footer h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44px;
    height: 3px;
    border-radius: 3px;
    background: var(--gold-500);
}

.site-footer__links li + li,
.site-footer__contact li + li {
    margin-top: 9px;
}

.site-footer__links a {
    transition: color 0.2s, padding-left 0.2s;
}

.site-footer__links a:hover {
    padding-left: 6px;
    color: var(--gold-300);
}

.site-footer__contact li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 6px;
    align-items: start;
    overflow-wrap: anywhere;
}

.site-footer__contact i {
    margin-top: 5px;
    color: var(--gold-400);
}

.site-footer__contact a:hover {
    color: var(--gold-300);
}

.site-footer__legal {
    padding: 20px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.82rem;
    line-height: 1.6;
    text-align: center;
    color: #a9b6d8;
}

.site-footer__copy {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #dfe7ff;
}


/* ==========================================================================
   16. FLOATING BUTTONS
   ========================================================================== */

.float-btn {
    position: fixed;
    right: 20px;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(2, 12, 38, 0.4);
    transition: transform 0.2s;
}

.float-btn:hover {
    transform: translateY(-3px) scale(1.06);
}

.float-btn--whatsapp {
    bottom: 84px;
    border: 2px solid #ffffff;
    background: #1faa59;
    color: #ffffff;
    font-size: 1.7rem;
}

.float-btn--top {
    bottom: 20px;
    border: 2px solid var(--gold-400);
    background: var(--navy-900);
    color: var(--gold-300);
    font-size: 1.1rem;
}


/* ==========================================================================
   17. TABLETS AND PHONES
   ========================================================================== */

/* ---- large desktop screens: everything a little bigger ---- */
@media (min-width: 1600px) {
    :root {
        --container: 1440px;
        --brand-h: 204px;
        --nav-h: 66px;
    }

    .brand__emblem {
        width: 182px;
        height: 182px;
    }

    .brand__name {
        font-size: 4.6rem;
    }

    .brand__sub {
        font-size: 2.2rem;
    }

    .brand__tamil {
        font-size: 1.75rem;
    }

    .tagline__art {
        width: 250px;
    }

    .tagline__words {
        font-size: 1.55rem;
    }

    .tagline__words .tagline__last {
        font-size: 1.12rem;
    }

    .main-nav__menu a {
        padding: 9px 20px;
        font-size: 1rem;
    }

    .hero {
        height: clamp(480px, min(45vw, 100vh - var(--brand-h) - var(--nav-h)), 780px);
    }
}

/* ---- screens without free space beside the text: arrows move to the bottom right ---- */
@media (max-width: 1420px) {
    .hero__arrow {
        top: auto;
        bottom: 98px;
        width: 44px;
        height: 44px;
        font-size: 1rem;
        transform: none;
    }

    .hero__arrow:hover {
        transform: scale(1.08);
    }

    .hero__arrow--prev {
        left: auto;
        right: 124px;
    }

    .hero__arrow--next {
        right: 72px;
    }

    .hero__pause {
        width: 44px;
        height: 44px;
        bottom: 98px;
    }
}

/* ---- laptops: slightly smaller menu and header ---- */
@media (max-width: 1280px) {
    .main-nav__menu a {
        padding: 8px 11px;
        font-size: 0.88rem;
    }

    .tagline__art {
        width: 170px;
    }

    .tagline__words {
        font-size: 1.15rem;
    }

    .service-cards {
        --per-row: 3;
    }

    .service__grid,
    .about,
    .contact {
        gap: 48px;
    }
}

/* ---- tablets: the menu becomes a drop-down ---- */
@media (max-width: 1100px) {
    :root {
        --brand-h: 150px;
    }

    .brand__emblem {
        width: 128px;
        height: 128px;
    }

    .tagline__art {
        display: none;
    }

    .main-nav__toggle {
        display: flex;
        margin-left: auto;
    }

    /* left side of the menu bar: tagline first, small logo once the bar sticks */
    .main-nav__tag {
        display: block;
    }

    .main-nav__brand,
    .site-header.is-stuck .main-nav__tag {
        display: none;
    }

    .site-header.is-stuck .main-nav__brand {
        display: flex;
    }

    .main-nav__menu {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: grid;
        gap: 4px;
        max-height: calc(100vh - var(--nav-h));
        padding: 12px 20px 18px;
        overflow-y: auto;
        border: 0;
        border-bottom: 3px solid var(--gold-500);
        border-radius: 0 0 18px 18px;
        background: var(--navy-950);
        box-shadow: 0 24px 40px rgba(2, 12, 38, 0.5);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    }

    .main-nav__menu.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .main-nav__menu a {
        padding: 12px 16px;
        font-size: 1.02rem;
    }

    .why__inner {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }

    .why__item:first-child {
        border-left: 0;
    }

    .properties {
        grid-template-columns: repeat(3, 1fr);
    }

    .properties__head {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    .properties__head h3 {
        margin-bottom: 0;
    }

    .properties__head br {
        display: none;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---- small tablets: one column ---- */
@media (max-width: 900px) {
    .section {
        padding: 64px 0;
    }

    .tagline {
        display: none;
    }

    .brand-bar__inner {
        justify-content: center;
    }

    .service__grid,
    .about,
    .contact {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    /* picture first on every service section */
    .service--flip .service__media {
        order: 0;
    }

    .service--flip .service__media::before {
        inset: 20px -14px -14px 20px;
    }

    .service__media::before,
    .logo-panel::before {
        inset: 20px -14px -14px 20px;
    }

    .service__media,
    .about__logo {
        margin-right: 14px;
    }

    .steps {
        grid-template-columns: 1fr 1fr;
        row-gap: 36px;
    }

    .pillars {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .steps::before {
        display: none;
    }

    .hero-tab {
        flex-direction: column;
        gap: 6px;
        min-height: 78px;
        font-size: 0.82rem;
        line-height: 1.2;
    }

    .hero-tab i {
        font-size: 1.4rem;
    }

    .slide__shade {
        background:
            linear-gradient(90deg, rgba(2, 12, 38, 0.92) 0%, rgba(2, 12, 38, 0.74) 45%, rgba(2, 12, 38, 0.25) 100%),
            linear-gradient(0deg, rgba(2, 12, 38, 0.6) 0%, rgba(2, 12, 38, 0) 40%);
    }
}

/* ---- phones ---- */
@media (max-width: 640px) {
    :root {
        --brand-h: 104px;
        --nav-h: 56px;
    }

    .container {
        width: min(var(--container), 100% - 32px);
    }

    .brand {
        gap: 12px;
    }

    .brand__emblem {
        width: 84px;
        height: 84px;
    }

    .brand__name {
        font-size: clamp(1.3rem, 6.6vw, 2.1rem);
    }

    .brand__sub {
        gap: 8px;
        margin-top: 2px;
        font-size: clamp(0.8rem, 3.6vw, 1.1rem);
    }

    .brand__sub::before,
    .brand__sub::after {
        height: 2px;
    }

    .brand__tamil {
        margin-top: 2px;
        font-size: clamp(0.72rem, 3.2vw, 0.95rem);
    }

    .main-nav__brand {
        font-size: 0.92rem;
    }

    .main-nav__brand img {
        width: 38px;
        height: 38px;
    }

    .hero {
        height: 570px;
    }

    .slide__img {
        object-position: 78% center;
    }

    .slide__shade {
        background: linear-gradient(0deg, rgba(2, 12, 38, 0.97) 0%, rgba(2, 12, 38, 0.90) 40%, rgba(2, 12, 38, 0.30) 62%, rgba(2, 12, 38, 0) 80%);
    }

    .slide__content {
        justify-content: flex-end;
        padding-bottom: 96px;
    }

    .slide__actions {
        gap: 10px;
        margin-top: 18px;
    }

    .slide__actions .btn {
        padding: 11px 18px;
        font-size: 0.95rem;
    }

    .hero__arrow {
        display: none;      /* swipe left / right on phones */
    }

    .hero__pause {
        top: 14px;
        right: 14px;
        bottom: auto;
        width: 40px;
        height: 40px;
    }

    .hero-tab {
        min-height: 68px;
        padding: 8px 2px;
        font-size: 0.66rem;
    }

    .hero-tab i {
        font-size: 1.3rem;
    }

    .promise-strip__list {
        display: grid;
        grid-template-columns: auto auto;
        gap: 6px 0;
        padding: 12px 0;
        font-size: 0.76rem;
        letter-spacing: 0.16em;
    }

    .promise-strip__list li {
        padding: 0 14px;
    }

    .promise-strip__list li:nth-child(odd) {
        border-left: 0;
        text-align: right;
    }

    .section-head {
        margin-bottom: 36px;
    }

    .section-head__script {
        font-size: 2.2rem;
    }

    .service-cards {
        --per-row: 2;
        --gap: 14px;
    }

    .service-card__body {
        padding: 14px 10px 18px;
    }

    .service-card__title {
        font-size: 0.98rem;
    }

    .service-card__tags {
        font-size: 0.76rem;
    }

    .service-card__tags {
        gap: 4px;
    }

    .service-card__tags span {
        padding: 1px 7px;
    }

    .service-card__go {
        top: -20px;
        right: 10px;
        width: 36px;
        height: 36px;
    }

    .why__list {
        grid-template-columns: 1fr 1fr;
        gap: 22px 0;
    }

    .why__item:nth-child(odd) {
        border-left: 0;
    }

    .why__item:last-child {
        grid-column: 1 / -1;
    }

    .why__title,
    .why__title span {
        font-size: 1.3rem;
    }

    .why__art {
        width: 130px;
    }

    .logo-panel {
        padding: 30px 20px 22px;
    }

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

    .pillars {
        margin-top: 44px;
    }

    .properties {
        grid-template-columns: 1fr;
        margin-top: 56px;
    }

    .properties__head h3 {
        font-size: 1.25rem;
    }

    .steps {
        grid-template-columns: 1fr;
        row-gap: 22px;
    }

    /* circle on the left, text on the right */
    .step {
        display: grid;
        grid-template-columns: 70px 1fr;
        column-gap: 18px;
        align-items: center;
        text-align: left;
    }

    .step__icon {
        grid-row: span 2;
        width: 70px;
        height: 70px;
        margin: 0;
        font-size: 1.4rem;
    }

    .step h3 {
        align-self: end;
    }

    .step p {
        align-self: start;
        max-width: none;
        margin: 2px 0 0;
    }

    .enquiry {
        padding: 28px 20px 30px;
    }

    .enquiry__title span {
        padding: 8px 20px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 44px 0 34px;
    }

    .site-footer__about img {
        width: 260px;
    }
}

/* ---- very small phones ---- */
@media (max-width: 380px) {
    .slide__script {
        font-size: 2.2rem;
    }

    .slide__title {
        font-size: 1.7rem;
    }

    /* long button texts may use two lines */
    .service__text .btn,
    .slide__actions .btn {
        white-space: normal;
    }

    .service-cards {
        --per-row: 1;
    }

    .brand__emblem {
        width: 70px;
        height: 70px;
    }
}


/* ==========================================================================
   18. REDUCED MOTION AND PRINT
   ========================================================================== */

/* visitors who switched animations off in their system settings */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .js .reveal,
    .js .slide__content > * {
        opacity: 1;
        transform: none;
    }

    .slide__img {
        transform: none;
    }
}

@media print {
    .site-header,
    .hero__arrow,
    .hero__tabs,
    .hero__pause,
    .float-btn {
        display: none !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}
