/* =========================================================
   TalkSure Privacy Policy
   Warm Beige / Brown Theme
   Mobile-First Responsive Stylesheet
========================================================= */


/* =========================================================
   Color Variables
========================================================= */

:root {

    /* Main Brand Colors */
    --primary: #9b6d45;
    --primary-dark: #7d5637;
    --primary-light: #f5eee8;

    /* Hero */
    --hero: #c2a180;
    --hero-dark: #b28e6b;

    /* Text */
    --text: #344054;
    --text-light: #667085;
    --heading: #9b6d45;

    /* Backgrounds */
    --background: #f7f8fc;
    --card: #ffffff;

    /* Borders */
    --border: #e7e8ec;

    /* Footer */
    --footer: #2f2925;
    --footer-text: #ddd6d0;

    /* Shadows */
    --shadow: 0 8px 25px rgba(70, 50, 35, 0.07);
    --shadow-hover: 0 14px 35px rgba(70, 50, 35, 0.11);

    /* Other */
    --radius: 16px;
    --transition: 0.25s ease;
}


/* =========================================================
   Reset
========================================================= */

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


/* =========================================================
   HTML
========================================================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}


/* =========================================================
   Body
========================================================= */

body {

    font-family: 'Poppins', sans-serif;

    background: var(--background);

    color: var(--text);

    line-height: 1.75;

    font-size: 15px;

    overflow-x: hidden;
}


/* =========================================================
   Global Elements
========================================================= */

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

p {
    margin-bottom: 16px;
}

ul {
    margin: 12px 0 20px 20px;
}

li {
    margin-bottom: 9px;
}

strong {
    color: var(--heading);
}


/* =========================================================
   Navigation
========================================================= */

.navbar {

    position: sticky;

    top: 0;

    z-index: 1000;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 14px 18px;

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

    border-bottom: 1px solid var(--border);

    box-shadow: 0 2px 12px rgba(70, 50, 35, 0.04);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);
}


/* =========================================================
   Logo
========================================================= */

.logo {

    font-size: 20px;

    font-weight: 700;

    color: var(--primary);

    white-space: nowrap;

    letter-spacing: -0.3px;
}


/* =========================================================
   Navigation Links
========================================================= */

.nav-links {

    display: flex;

    align-items: center;

    gap: 4px;

    margin: 0;

    padding: 0;

    list-style: none;

    overflow-x: auto;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;
}


.nav-links::-webkit-scrollbar {
    display: none;
}


.nav-links li {

    margin: 0;

    flex-shrink: 0;
}


.nav-links a {

    display: block;

    padding: 7px 9px;

    font-size: 12px;

    font-weight: 500;

    color: #4b4b4b;

    border-radius: 8px;

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


.nav-links a:hover,
.nav-links a:focus {

    color: var(--primary);

    background: var(--primary-light);
}


/* =========================================================
   Hero Section
========================================================= */

.hero {

    position: relative;

    padding: 55px 18px 50px;

    background:

        linear-gradient(
            135deg,
            #c2a180 0%,
            #c2a180 50%,
            #b99470 100%
        );

    color: #ffffff;

    overflow: hidden;
}


/* =========================================================
   Hero Decorative Circles
========================================================= */

.hero::before,
.hero::after {

    content: "";

    position: absolute;

    border-radius: 50%;

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

    pointer-events: none;
}


.hero::before {

    width: 180px;

    height: 180px;

    top: -90px;

    right: -70px;
}


.hero::after {

    width: 130px;

    height: 130px;

    bottom: -70px;

    left: -55px;
}


/* =========================================================
   Hero Content
========================================================= */

.hero-content {

    position: relative;

    z-index: 1;

    width: 100%;

    max-width: 900px;

    margin: 0 auto;

    text-align: center;
}


/* =========================================================
   Hero Heading
========================================================= */

.hero h1 {

    margin-bottom: 14px;

    color: #ffffff;

    font-size: clamp(32px, 9vw, 58px);

    line-height: 1.15;

    font-weight: 700;

    letter-spacing: -1px;
}


/* =========================================================
   Hero Paragraph
========================================================= */

.hero p {

    max-width: 720px;

    margin: 0 auto 20px;

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

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   Last Updated Badge
========================================================= */

.last-updated {

    display: inline-block;

    padding: 9px 16px;

    color: #4a3829;

    background: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.4);

    border-radius: 50px;

    box-shadow:
        0 7px 18px rgba(70, 50, 35, 0.14);

    font-size: 12px;

    font-weight: 400;
}


.last-updated strong {

    color: #34271e;
}


/* =========================================================
   Main Container
========================================================= */

.container {

    width: 100%;

    max-width: 1000px;

    margin: 0 auto;

    padding: 25px 14px 50px;
}


/* =========================================================
   Policy Cards
========================================================= */

.policy-card {

    position: relative;

    margin-bottom: 18px;

    padding: 22px 18px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

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


/* =========================================================
   Card Top Accent
========================================================= */

.policy-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 20px;

    right: 20px;

    height: 3px;

    background: var(--primary);

    border-radius: 0 0 10px 10px;

    opacity: 0.9;
}


/* =========================================================
   Card Hover
========================================================= */

.policy-card:hover {

    transform: translateY(-2px);

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


/* =========================================================
   Section Headings
========================================================= */

.policy-card h2 {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 17px;

    color: var(--heading);

    font-size: 20px;

    line-height: 1.4;

    font-weight: 600;
}


/* =========================================================
   Heading Icons
========================================================= */

.policy-card h2 i {

    flex-shrink: 0;

    margin-top: 4px;

    color: var(--primary);

    font-size: 18px;
}


/* =========================================================
   Subheadings
========================================================= */

.policy-card h3 {

    margin: 24px 0 10px;

    color: var(--heading);

    font-size: 16px;

    line-height: 1.45;

    font-weight: 600;
}


/* =========================================================
   Paragraphs
========================================================= */

.policy-card p {

    color: var(--text);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   Lists
========================================================= */

.policy-card ul {

    color: var(--text);

    font-size: 14px;

    line-height: 1.75;
}


.policy-card li::marker {

    color: var(--primary);
}


/* =========================================================
   Strong Text
========================================================= */

.policy-card p strong {

    color: var(--heading);

    font-weight: 600;
}


/* =========================================================
   Contact Section
========================================================= */

#contact {

    background:

        linear-gradient(
            180deg,
            #ffffff 0%,
            #faf7f4 100%
        );
}


#contact p strong {

    color: var(--primary);
}


/* =========================================================
   Footer
========================================================= */

footer {

    padding: 42px 18px;

    text-align: center;

    color: var(--footer-text);

    background: var(--footer);
}


footer h3 {

    margin-bottom: 10px;

    color: #ffffff;

    font-size: 21px;

    font-weight: 600;
}


footer p {

    margin-bottom: 7px;

    color: var(--footer-text);

    font-size: 13px;

    line-height: 1.7;
}


footer p:last-child {

    margin-top: 12px;

    color: #aaa19a;

    font-size: 12px;
}


/* =========================================================
   Scroll To Top Button
========================================================= */

#topBtn {

    position: fixed;

    right: 16px;

    bottom: 16px;

    width: 44px;

    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: none;

    border-radius: 50%;

    color: #ffffff;

    background: var(--primary);

    box-shadow:
        0 6px 20px rgba(90, 60, 35, 0.28);

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transform: translateY(10px);

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

    z-index: 999;
}


#topBtn.show {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


#topBtn:hover {

    background: var(--primary-dark);

    transform: translateY(-2px);
}


#topBtn i {

    font-size: 15px;
}


/* =========================================================
   Small Phones
   320px - 374px
========================================================= */

@media (max-width: 374px) {

    body {
        font-size: 14px;
    }


    .navbar {

        padding: 12px;

        gap: 8px;
    }


    .logo {
        font-size: 18px;
    }


    .nav-links {

        gap: 1px;
    }


    .nav-links a {

        padding: 6px 7px;

        font-size: 11px;
    }


    .hero {

        padding: 45px 15px 42px;
    }


    .hero h1 {

        font-size: 30px;
    }


    .hero p {

        font-size: 13px;
    }


    .last-updated {

        padding: 8px 13px;

        font-size: 11px;
    }


    .container {

        padding: 18px 10px 40px;
    }


    .policy-card {

        padding: 20px 15px;

        border-radius: 13px;
    }


    .policy-card h2 {

        font-size: 18px;
    }


    .policy-card h3 {

        font-size: 15px;
    }


    .policy-card p,
    .policy-card ul {

        font-size: 13px;
    }


    footer {

        padding: 35px 15px;
    }

}


/* =========================================================
   Tablets
   600px+
========================================================= */

@media (min-width: 600px) {

    body {

        font-size: 15px;
    }


    .navbar {

        padding: 15px 28px;
    }


    .logo {

        font-size: 22px;
    }


    .nav-links {

        gap: 5px;
    }


    .nav-links a {

        padding: 8px 11px;

        font-size: 13px;
    }


    .hero {

        padding: 75px 28px 70px;
    }


    .hero p {

        font-size: 15px;
    }


    .last-updated {

        font-size: 13px;
    }


    .container {

        padding: 35px 25px 65px;
    }


    .policy-card {

        padding: 28px 26px;

        margin-bottom: 22px;
    }


    .policy-card h2 {

        font-size: 23px;
    }


    .policy-card h3 {

        font-size: 17px;
    }


    .policy-card p,
    .policy-card ul {

        font-size: 15px;
    }


    footer {

        padding: 45px 25px;
    }

}


/* =========================================================
   Desktop
   900px+
========================================================= */

@media (min-width: 900px) {

    .navbar {

        padding: 16px 45px;
    }


    .logo {

        font-size: 24px;
    }


    .nav-links {

        gap: 8px;
    }


    .nav-links a {

        padding: 8px 13px;

        font-size: 13px;
    }


    .hero {

        padding: 95px 30px 90px;
    }


    .hero h1 {

        font-size: 52px;
    }


    .container {

        padding: 45px 25px 80px;
    }


    .policy-card {

        padding: 34px 36px;

        margin-bottom: 25px;
    }


    .policy-card h2 {

        font-size: 24px;
    }


    .policy-card h3 {

        font-size: 18px;
    }


    .policy-card p,
    .policy-card ul {

        font-size: 15px;
    }


    footer {

        padding: 55px 25px;
    }

}


/* =========================================================
   Large Desktop
   1200px+
========================================================= */

@media (min-width: 1200px) {

    .navbar {

        padding-left: 7%;

        padding-right: 7%;
    }


    .hero-content {

        max-width: 850px;
    }


    .container {

        max-width: 1000px;
    }

}


/* =========================================================
   Accessibility
========================================================= */

a:focus-visible,
button:focus-visible {

    outline: 3px solid rgba(155, 109, 69, 0.35);

    outline-offset: 3px;
}


/* =========================================================
   Reduced Motion
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {

        transition: none !important;

        animation: none !important;
    }

}