:root {
    /* --- PALETTE --- */
    --navy: #0D1B2A;
    --purple: #8338EC;
    --orange: #FCA311;
    --white: #ffffff;
    --off-white: #f4f6f8;
    --gray-text: #555;
    --grad-line: linear-gradient(to right, var(--orange), var(--purple));
    /* UI Variables */
    --shadow-soft: 0 15px 40px rgba(13, 27, 42, 0.08);
    --radius-pill: 50px;
    --radius-card: 20px;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--navy);
    overflow-x: hidden;
}

/* 1. Reset Box Model (Crucial) */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 2. Constrain the Body */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    /* This hides the whitespace forcefully */
    margin: 0;
    padding: 0;
}

/* 3. Tame Images & Containers */
img,
video,
iframe {
    max-width: 100%;
    /* Prevents large images from breaking layout */
    height: auto;
}





/* --- UTILITY CLASSES --- */
.text-orange {
    color: var(--orange);
}

.text-navy {
    color: var(--navy);
}

.text-purple {
    color: var(--purple) !important;
}

.text-gradient {
    background: linear-gradient(to right, var(--orange), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* --- BUTTONS --- */
.btn-cta {
    background-color: var(--orange);
    color: var(--white);
    border: none;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(252, 163, 17, 0.4);
    white-space: nowrap;
}

.btn-cta:hover {
    background-color: var(--purple);
    box-shadow: 0 4px 15px rgba(131, 56, 236, 0.4);
    transform: translateY(-2px);
}

/* --- SECTION 1: NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 8%;
    position: relative;
    z-index: 1000;
    background-color: var(--white);
    position: fixed;
    width: 100%;
    height: 100px;
}

.navbar__logo {
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    color: var(--navy);
    z-index: 1001;
    /* Above mobile menu */
}

.navbar__menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.navbar__link {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.navbar__link:hover {
    color: var(--purple);
}

.navbar__btn {
    display: block;
    background-color: var(--orange);
    color: var(--white);
    padding: 0.75rem 1.8rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;

}

.navbar__btn:hover {
    background-color: var(--purple);
}

/* Mobile Hamburger Controls */
.navbar__toggle {
    display: none;
}

.navbar__hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
}

/* Basic Mobile Styles */
.navbar__menu {}

/* When JavaScript adds the 'active' class, show the menu */
.navbar__menu.active {
    display: flex;
}

.navbar__hamburger {
    cursor: pointer;
    font-size: 2rem;
    user-select: none;
}

/* --- SECTION 2: HERO --- */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 85vh;
    padding: 2rem 8% 5rem;
    position: relative;
    gap: 2rem;
    margin-top: 100px;
}

.hero__content {
    width: 45%;
    z-index: 2;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--off-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
}

.hero__badge-icon {
    background: var(--purple);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.hero__title {
    /* Responsive Font Size */
    /* font-size: clamp(2.5rem, 5vw, 4rem); */
    font-size: 45px;
    line-height: 1.3;
    color: var(--navy);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 2.5rem;
    max-width: 90%;
    line-height: 1.6;
}

.hero__form {
    background: var(--white);
    padding: 0.4rem;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-soft);
    display: flex;
    max-width: 480px;
    border: 1px solid #eee;
    flex-wrap: wrap;
    /* Allows stacking on very small screens */
}

.hero__input {
    border: none;
    outline: none;
    padding: 0.8rem 1.5rem;
    flex-grow: 1;
    font-size: 1rem;
    border-radius: var(--radius-pill);
    color: var(--navy);
    min-width: 150px;
}

.hero__visuals {
    width: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__img-container {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 600px;
}

.hero__img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 40px;
    box-shadow: var(--shadow-soft);
    z-index: 1;
    border-bottom: 6px solid var(--purple);
}

/* Tablet & Small Desktop (Max 1024px) */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 3rem;
    }

    .hero__content,
    .hero__visuals {
        width: 100%;
    }

    .hero__subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero__form {
        margin: 0 auto;
    }

    .hero__img-container {
        margin-top: 2rem;
    }
}

/* Mobile (Max 768px) */
@media (max-width: 768px) {
    .navbar {
        padding: 1.5rem 5%;
    }

    .hero-section {
        padding: 2rem 5%;
    }

    .treatments-section {
        padding: 3rem 5%;
    }

    /* Toggle Hamburger */
    .navbar__hamburger {
        display: block;
    }

    /* Hide Menu by Default */
    .navbar__menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        /* Slide Effect */
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease-in-out;
        pointer-events: none;
    }

    /* Show Menu when Checkbox is Checked */
    #nav-toggle:checked~.navbar__menu {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Adjust CTA inside menu */
    .navbar__btn {
        width: 100%;
        text-align: center;
    }

    /* Font Adjustments */
    .treatments__title {
        font-size: 2rem;
    }

    /* Footer Stacking */
    .main-footer__container {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Very Small Phones (Max 480px) */
@media (max-width: 480px) {
    .hero__form {
        padding: 0.2rem;
        background: transparent;
        box-shadow: none;
        border: none;
    }

    .hero__input {
        width: 100%;
        margin-bottom: 10px;
        box-shadow: var(--shadow-soft);
        border: 1px solid #eee;
    }

    .btn-cta {
        width: 100%;
        text-align: center;
    }
}

.data-section {
    padding: 6rem 2rem;
    background-color: var(--white);
    position: relative;
}

.data-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Header & Badge --- */
.data-header {
    text-align: center;
    margin-bottom: 2rem;
}

.semrush-badge {
    /* Centering Magic */
    display: flex;
    /* Make it a block-level flex container */
    width: fit-content;
    /* Shrink to fit the text/logo */
    margin: 0 auto 1.5rem auto;
    /* Top: 0, Left/Right: Auto (Centers it), Bottom: 1.5rem */

    /* Layout & Styling */
    align-items: center;
    gap: 12px;
    background: #fff5eb;
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid rgba(252, 163, 17, 0.3);
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* FIXED: SVG Sizing & Alignment */
.semrush-svg {
    height: 20px;
    /* Perfect height to match text */
    width: auto;
    /* Maintain aspect ratio */
    display: block;
}

.data-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.data-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    color: var(--purple);
    font-weight: 700;
}

/* --- SORT DROPDOWN --- */
.sort-container {
    max-width: 400px;
    margin: 0 auto 3.5rem;
    position: relative;
    z-index: 10;
}

.select-wrapper {
    position: relative;
    background: white;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(13, 27, 42, 0.08);
}

.custom-select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
    border: 2px solid var(--navy);
    border-radius: 50px;
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    transition: 0.3s;
}

.custom-select:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 4px rgba(131, 56, 236, 0.1);
}

.select-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--orange);
    pointer-events: none;
}

/* --- DASHBOARD GRID --- */
/* Card Layout Update */
.kw-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: transform 0.2s;
}

.kw-card:hover {
    transform: translateY(-2px);
    border-color: var(--re-purple);
}

.kw-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.kw-text {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

/* New Metrics Styling */
.kw-metrics {
    display: flex;
    gap: 15px;
    text-align: center;
}

.metric-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.metric-val {
    font-weight: 700;
    color: var(--re-navy);
    font-size: 0.95rem;
}

.metric-label {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Difficulty Colors */
.kd-easy {
    color: #00C851;
}

.kd-med {
    color: #FFbb33;
}

.kd-hard {
    color: #ff4444;
}

/* Responsive Grid */
@media (max-width: 600px) {
    .kw-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .kw-metrics {
        width: 100%;
        justify-content: space-between;
        padding-top: 10px;
        border-top: 1px solid #f0f0f0;
    }
}

/* Layout for Controls */
.dashboard-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Country Tabs */
.country-tabs {
    display: flex;
    background: var(--orange);
    color: var(--navy);
    padding: 5px;
    border-radius: 50px;
    gap: 5px;
}

.country-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: none;
    background: transparent;
    border-radius: 40px;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    transition: all 0.3s ease;
}

.country-btn img {
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Active State */
.country-btn.active {
    background: white;
    color: #0d1b2a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.country-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
}

.dashboard-grid {
    display: grid;
    /* grid-template-columns: 2fr 1fr; */
    gap: 2rem;
}


.kw-card {
    background: var(--bg-gray);
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.kw-card:hover {
    background: white;
    border-color: var(--purple);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(131, 56, 236, 0.1);
}

.kw-info {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.kw-icon {
    color: #999;
    font-size: 1rem;
    transition: 0.3s;
    flex-shrink: 0;
}

.kw-card:hover .kw-icon {
    color: var(--orange);
}

.kw-text {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kw-vol {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--purple);
    background: rgba(131, 56, 236, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}


/* --- OPP CARD --- */
.keyword-list {
    display: grid;
    /* This creates as many columns as fit, at least 250px wide each */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto; /* Centers the list */
}

.opp-card {
    background: var(--navy);
    color: white;
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(13, 27, 42, 0.25);
    
    /* Responsiveness updates */
    width: 100%;
    max-width: 800px; 
    margin: 0 auto;
    box-sizing: border-box; /* Ensures padding doesn't add to width */
}

/* Mobile Adjustments */

.opp-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: var(--purple);
    filter: blur(80px);
    opacity: 0.5;
}

.opp-label {
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.opp-number {
    position: relative;
    z-index: 1;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.opp-sub {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.opp-desc {
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 2rem;
    line-height: 1.5;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    width: 100%;
}

.btn-capture {
    position: relative;
    z-index: 1;
    background: var(--orange);
    color: var(--navy);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    width: 100%;
    display: block;
    transition: 0.3s;
}

.btn-capture:hover {
    background: white;
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .keyword-list {
        grid-template-columns: 1fr;
    }
}


.growth-section {
    padding: 5rem 2rem;
    width: 100%;
}

.growth-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- HEADER --- */
.growth-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.growth-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.growth-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --- GRID LAYOUT --- */
.growth-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

/* --- CARD STYLING --- */
.growth-card {
    /* Flex Logic: Grow, Shrink, Basis */
    flex: 1 1 340px;
    max-width: 380px;

    padding: 2.5rem;
    border-radius: var(--growth-radius);
    color: var(--growth-white);
    position: relative;
    box-shadow: var(--growth-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    min-height: 400px;
    /* Ensure uniform height */
}

.growth-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(13, 27, 42, 0.2);
}

/* Color Variants */
.growth-card.navy-theme {
    background: var(--growth-navy-grad);
}

.growth-card.purple-theme {
    background: var(--growth-purple-grad);
}

/* Icon */
.growth-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.growth-icon .text-orange {
    color: var(--growth-orange);
}

.growth-icon .text-white {
    color: var(--growth-white);
}

/* Content */
.growth-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.growth-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    flex-grow: 1;
    /* Pushes button down */
}

/* Button */
.growth-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--growth-white);
    font-weight: 600;
    transition: 0.3s;
    margin-top: auto;
}

.growth-btn:hover {
    padding-left: 10px;
    color: var(--growth-orange);
    border-color: var(--growth-orange);
}

/* Decoration */
.growth-blob {
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .growth-section {
        padding: 4rem 1.5rem;
    }

    .growth-card {
        min-height: 380px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .growth-header h2 {
        font-size: 2rem;
    }

    .growth-grid {
        gap: 1.5rem;
    }

    .growth-card {
        flex: 1 1 100%;
        /* Force full width on mobile */
        max-width: 100%;
        min-height: auto;
        /* Allow auto height */
        padding: 2rem;
    }

    .growth-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }

    .growth-card h3 {
        font-size: 1.35rem;
    }
}


.reasons-section-light {
    padding: 6rem 2rem;
    background-color: var(--bg-light);
    position: relative;
}

.reasons-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Header --- */
.reasons-header {
    text-align: center;
    margin-bottom: 4rem;
}

.subheading {
    color: var(--purple);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 1rem;
}

.reasons-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy-text);
    max-width: 700px;
    margin: 0 auto;
}

/* --- Grid --- */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* --- Light Card Styling --- */
.light-reason-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid #eee;
    /* Subtle border */
    position: relative;
    transition: 0.3s;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.light-reason-card:hover {
    transform: translateY(-8px);
    border-color: var(--purple);
    box-shadow: var(--shadow-hover);
}

/* Gradient Numbering */
.card-num {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;

    /* Gradient Text Trick */
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    opacity: 0.8;
}

.light-reason-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--navy-text);
}

.light-reason-card p {
    font-size: 0.95rem;
    color: #555;
    /* Dark gray for readability */
    line-height: 1.6;
}

/* Icon (Hidden initially, appears on hover) */
.corner-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1.2rem;

    /* Purple Styling */
    color: var(--white);
    background: var(--purple);

    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transform: scale(0.5);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy effect */
    box-shadow: 0 5px 15px rgba(131, 56, 236, 0.3);
}

/* Show icon on hover */
.light-reason-card:hover .corner-icon {
    opacity: 1;
    transform: scale(1);
}

/* Hover Bottom Bar */
.light-reason-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--brand-gradient);
    transition: 0.4s;
}

.light-reason-card:hover::after {
    width: 100%;
}

.vs-section {
    padding: 6rem 2rem;
    background-color: var(--bg-gray);
}

.vs-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */
.vs-header {
    text-align: center;
    margin-bottom: 4rem;
}

.vs-header span {
    color: var(--purple);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.vs-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: 10px;
}

/* The Comparison Grid */
.vs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    /* No gap, they touch */
    align-items: center;
}

/* === LEFT CARD (OFFLINE) === */
.card-offline {
    background: #EAECEF;
    /* Dull Gray */
    padding: 3rem;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    position: relative;
    color: #666;
    z-index: 1;
}

.card-offline h3 {
    color: #555;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* === RIGHT CARD (ONLINE) === */
.card-online {
    background: var(--white);
    padding: 4rem 3rem;
    /* Taller padding makes it pop */
    border-radius: 20px;
    position: relative;
    z-index: 2;
    /* Sits on top */
    box-shadow: 0 25px 50px rgba(13, 27, 42, 0.15);
    /* Deep Shadow */
    border: 1px solid var(--purple);
    transform: scale(1.05);
    /* Make it slightly bigger */
    margin-left: -20px;
    /* Overlap effect */
}

/* Online Header Badge */
.online-badge {
    background: var(--orange);
    color: var(--navy);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.card-online h3 {
    color: var(--navy);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 800;
}

/* List Styling */
.vs-list {
    list-style: none;
}

.vs-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.vs-item:last-child {
    margin-bottom: 0;
}

/* Icons */
.icon-x {
    color: var(--red-alert);
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
}

.icon-check {
    width: 30px;
    height: 30px;
    background: rgba(0, 200, 81, 0.1);
    color: var(--green-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* Strong text in items */
.vs-item strong {
    font-weight: 700;
    display: block;
}

.sub-text {
    font-size: 0.85rem;
    display: block;
    margin-top: 2px;
}

/* CTA Button inside Online Card */
.btn-vs {
    display: block;
    text-align: center;
    margin-top: 2rem;
    background: var(--navy);
    color: white;
    text-decoration: none;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-vs:hover {
    background: var(--purple);
    transform: translateY(-3px);
}


/* RESPONSIVE STACKING */
@media (max-width: 900px) {
    .vs-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .card-offline {
        border-radius: 20px;
        padding: 2rem;
    }

    .card-online {
        margin-left: 0;
        transform: scale(1);
        border-top: 5px solid var(--purple);
        /* Nice touch for mobile */
    }
}

.real-estate-section {
    padding: 6rem 2rem;
}

.re-container {
    max-width: 1000px;
    margin: 0 auto;
}

.re-header {
    text-align: center;
    margin-bottom: 4rem;
}

.re-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.re-header p {
    font-size: 1.1rem;
    color: #666;
}

/* THE COMPARISON CARD */
.re-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(13, 27, 42, 0.1);
}

/* --- LEFT SIDE: PHYSICAL --- */
.side-physical {
    padding: 4rem 3rem;
    background: #f0f2f5;
    border-right: 1px solid #ddd;
    position: relative;
}

.side-physical h3 {
    font-size: 1.5rem;
    color: #777;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cost-badge {
    display: inline-block;
    background: #ddd;
    color: #666;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* --- RIGHT SIDE: DIGITAL --- */
.side-digital {
    padding: 4rem 3rem;
    background: var(--re-navy);
    color: white;
    position: relative;
    overflow: hidden;
    /* For glow effect */
}

/* Subtle Glow */
.side-digital::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--re-purple);
    filter: blur(80px);
    opacity: 0.4;
}

.side-digital h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.roi-badge {
    display: inline-block;
    background: var(--re-orange);
    color: var(--re-navy);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* --- METRICS GRID --- */
.metric-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Label vs Value */
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 1rem;
}

.side-digital .metric-row {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.m-label {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.m-value {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: right;
}

/* Icons */
.icon-lg {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* Responsive */
@media (max-width: 800px) {
    .re-wrapper {
        grid-template-columns: 1fr;
    }
}

.why-us-section {
    background-color: var(--bg-grey);
    padding: 6rem 8%;
    width: 100%;
}

/* --- HEADER --- */
.why-us-header {
    margin-bottom: 4rem;
    max-width: 600px;
}

.why-us-label {
    color: var(--purple);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
}

.why-us-headline {
    /* Responsive font size: min 2rem, preferred 4vw, max 2.5rem */
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--navy);
    line-height: 1.2;
    font-weight: 800;
}

/* --- GRID LAYOUT --- */
.why-us-grid {
    display: grid;
    /* Responsive Magic: 
               - Creates as many columns as fit.
               - Items will never be smaller than 250px.
               - If space runs out, they wrap to the next line automatically.
            */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

/* --- INDIVIDUAL CARD --- */
.why-us-card {
    position: relative;
    padding-top: 1rem;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Hover Effect: Slide up slightly */
.why-us-card:hover {
    transform: translateY(-5px);
}

/* --- BIG NUMBER --- */
.why-us-number {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    /* Gradient Text Effect */
    /* background: linear-gradient(180deg, #555 0%, rgba(255, 255, 255, 0) 100%); */
    background: var(--navy);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Standard property for compatibility */
    opacity: 0.8;
    display: inline-block;
}

/* --- CARD TITLE --- */
.why-us-title {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 1rem;
    position: relative;
    font-weight: 700;
}

/* Decorative underline for titles */
.why-us-title::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: var(--purple);
    margin-top: 10px;
    transition: width 0.3s ease;
}

.why-us-card:hover .why-us-title::after {
    width: 60px;
    /* Line expands on hover */
}

/* --- CARD DESCRIPTION --- */
.why-us-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- MEDIA QUERIES (Device Specifics) --- */

/* Tablet (max-width: 991px) */
@media (max-width: 991px) {
    .why-us-section {
        padding: 5rem 6%;
    }

    .why-us-grid {
        gap: 2rem;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .why-us-section {
        padding: 4rem 5%;
    }

    .why-us-header {
        text-align: center;
        margin: 0 auto 3rem auto;
    }

    /* Center align cards on mobile for better flow */
    .why-us-card {
        align-items: center;
        text-align: center;
        padding-bottom: 1rem;
        /* Add spacing between stacked items */
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        /* Subtle separator */
    }

    .why-us-card:last-child {
        border-bottom: none;
    }

    .why-us-title::after {
        margin: 10px auto 0 auto;
        /* Center the underline */
    }

    .why-us-number {
        font-size: 3.5rem;
        /* Slightly smaller on mobile */
        margin-bottom: 0.5rem;
    }
}

.portfolio {
    background-color: var(--light-bg);
}

.portfolio__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.portfolio__header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.portfolio__header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 1rem;
}

/* Tabs */
.portfolio__tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.portfolio__tab-btn {
    padding: 0.8rem 2.2rem;
    border: 2px solid transparent;
    background: #fff;
    color: #666;
    border-radius: var(--radius-pill);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    /* Prevents text breaking on small screens */
}

.portfolio__tab-btn:hover {
    color: var(--navy) !important;
    transform: translateY(-2px);
}

.portfolio__tab-btn.active {
    background: var(--purple) !important;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(131, 56, 236, 0.3);
    border-color: var(--purple);
}

/* Tab Content Animation */
.portfolio__content {
    display: none;
    animation: fadeUp 0.6s ease forwards;
}

.portfolio__content.active {
    display: block;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Grid System */
.portfolio__grid {
    display: grid;
    /* Auto-fit with minmax ensures cards shrink/grow but don't get too small */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

/* Card Component */
.portfolio__card {
    background: var(--white);
    border-radius: var(--radius-card);
    border: 1px solid #f0f0f0;
    transition: 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensures all cards in a row are same height */
}

.portfolio__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(13, 27, 42, 0.08);
    border-color: #e0d0ff;
}

.portfolio__card-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.portfolio__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio__card:hover .portfolio__card-img {
    transform: scale(1.05);
}

.portfolio__card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--purple);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.portfolio__card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio__card h3 {
    margin-bottom: 0.8rem;
    color: var(--navy);
    font-size: 1.3rem;
}

.portfolio__card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Portfolio Responsive Tweaks */
@media (max-width: 480px) {
    .portfolio__tabs {
        gap: 0.8rem;
    }

    .portfolio__tab-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .portfolio__card-body {
        padding: 1.5rem;
    }
}

.section-padding {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: system-ui, -apple-system, sans-serif;
}

.text-purple {
    color: var(--primary-color);
}

.portfolio__header {
    text-align: center;
    margin-bottom: 40px;
}

.portfolio__header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.portfolio__header p {
    color: #666;
}

/* SCROLLABLE TABS */
.portfolio__tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    overflow-x: auto;
    padding-bottom: 10px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
    /* Center if few items */
}

/* Allow left align on small screens so start isn't cut off */
@media (max-width: 768px) {
    .portfolio__tabs {
        justify-content: flex-start;
    }
}

.portfolio__tabs::-webkit-scrollbar {
    height: 4px;
}

.portfolio__tabs::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.portfolio__tab-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    background: transparent;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #555;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.portfolio__tab-btn:hover,
.portfolio__tab-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* GRID LAYOUT */
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    /* Auto-fill for responsiveness */
    gap: 20px;
}

/* IMAGE LINK CARD */
.portfolio__link-card {
   
    /* Makes anchor behave like div */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 220px;
    /* Fixed height for uniformity */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 400px;
    margin-bottom: 40px;

    
}

.portfolio__link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(131, 56, 236, 0.2);
}

.portfolio__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover Overlay */
.portfolio__overlay {
    position: absolute;
    inset: 0;
    background: rgba(131, 56, 236, 0.8);
    /* Purple overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio__overlay span {
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    border: 2px solid white;
    padding: 8px 20px;
    border-radius: 30px;
}

.portfolio__link-card:hover .portfolio__overlay {
    opacity: 1;
}

.portfolio__link-card:hover .portfolio__img {
    transform: scale(1.1);
}


/* TABS VISIBILITY */
.portfolio__content {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.portfolio__content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-container {
    padding: 80px 5%;
    background-color: var(--pricing-bg-light);
    text-align: center;
}


.pricing-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    color: var(--pricing-navy);
    margin-bottom: 15px;
}

.pricing-title-accent {
    color: var(--pricing-purple);
}

.pricing-description {
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 1rem;
}

/* --- GRID SYSTEM --- */
.pricing-layout-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- CARD STYLING --- */
.pricing-item-card {
    background: var(--pricing-white);
    padding: 50px 30px;
    border-radius: var(--pricing-radius);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
}

.pricing-item-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--pricing-shadow);
}

/* Highlighted Card Logic */
.pricing-item-card-featured {
    border: 2px solid var(--pricing-purple);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-featured-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pricing-orange);
    color: var(--pricing-white);
    padding: 6px 20px;
    border-radius: var(--pricing-pill);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(252, 163, 17, 0.3);
}

/* --- TEXT ELEMENTS --- */
.pricing-plan-label {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--pricing-navy);
    margin-bottom: 15px;
}

.pricing-price-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--pricing-navy);
    margin-bottom: 25px;
    line-height: 1;
}

.pricing-price-value span {
    font-size: 1rem;
    color: #888;
    font-weight: 400;
}

/* --- LIST STYLING --- */
.pricing-feature-group {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    text-align: left;
    flex-grow: 1;
    /* Pushes button to bottom */
}

.pricing-feature-line {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-check-mark {
    color: var(--pricing-purple);
    font-weight: 900;
}

.pricing-feature-inactive {
    color: #bbb;
    text-decoration: line-through;
}

/* --- BUTTONS --- */
.pricing-action-btn {
    padding: 16px 30px;
    border-radius: var(--pricing-pill);
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    display: block;
    font-size: 0.95rem;
}

.pricing-btn-outline {
    border: 2px solid var(--pricing-navy);
    color: var(--pricing-navy);
}

.pricing-btn-outline:hover {
    background: var(--pricing-navy);
    color: var(--pricing-white);
}

.pricing-btn-solid {
    background-color: var(--pricing-orange);
    color: var(--pricing-white);
    box-shadow: 0 5px 15px rgba(252, 163, 17, 0.3);
    border: 2px solid var(--pricing-orange);
}

.pricing-btn-solid:hover {
    background-color: var(--pricing-purple);
    border-color: var(--pricing-purple);
    box-shadow: 0 5px 15px rgba(131, 56, 236, 0.3);
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1100px) {
    .pricing-item-card-featured {
        transform: scale(1);
        /* Remove scale for tablet to prevent overlap */
    }

    .pricing-item-card-featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .pricing-container {
        padding: 60px 20px;
    }

    .pricing-layout-grid {
        flex-direction: column;
        align-items: center;
    }

    .pricing-item-card {
        width: 100%;
        max-width: 450px;
    }
}

/* Pricing Wrapper */
.pricing-price-box {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Original Price (Struck through) */
.pricing-old-price {
    font-size: 1.1rem;
    color: #ef4444;
    /* Alert Red */
    text-decoration: line-through;
    font-weight: 600;
    opacity: 0.8;
}

/* New Price */
.pricing-price-value {
    font-size: 3rem;
    font-weight: 800;
    color: #0d1b2a;
    line-height: 1;
    letter-spacing: -1px;
}

/* Scarcity Slot Label */
.pricing-slots-left {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fca311;
    /* Urgent Orange */
    background: rgba(252, 163, 17, 0.1);
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid rgba(252, 163, 17, 0.2);
}

/* Container for price and scarcity */
.pricing-price-container {
    margin-bottom: 20px;
    text-align: center;
}

/* Scarcity Tag Styling */
.pricing-scarcity-tag {
    display: inline-block;
    background: rgba(252, 163, 17, 0.15);
    /* Light Orange background */
    color: #fca311;
    /* Brand Orange */
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(252, 163, 17, 0.3);
    margin-top: 10px;
    animation: pulse 2s infinite;
    /* Optional: adds attention */
    margin-bottom: 20px
}

/* Exclusivity List Item */
.exclusivity-note {
    font-style: italic;
    font-size: 0.9rem;
    color: #fca311 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px !important;
    margin-top: 10px !important;
    margin-bottom: 20px;
}


.contact-section {
    padding: 4rem 5%;
    width: 100%;
    display: flex;
    justify-content: center;
}

.contact-section-container {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    background: var(--contact-section-bg);
    border-radius: 40px;
    padding: 3.5rem;
    max-width: 1200px;
    width: 100%;
    align-items: center;
}

/* --- CONTENT COLUMN --- */
.contact-section-info-side {
    flex: 1;
}

.contact-section-badge {
    color: var(--contact-section-purple);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 1rem;
}

.contact-section-heading {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--contact-section-navy);
    line-height: 1.1;
}

.contact-section-highlight {
    color: var(--contact-section-orange);
}

.contact-section-description {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

/* --- FORM COLUMN --- */
.contact-section-form-side {
    flex: 1.2;
    width: 100%;
}

.contact-section-form-card {
    background: var(--contact-section-white);
    padding: 2.5rem;
    border-radius: var(--contact-section-radius);
    box-shadow: var(--contact-section-shadow);
}

.contact-section-field-wrapper {
    margin-bottom: 1.25rem;
}

.contact-section-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--contact-section-navy);
}

.contact-section-input-field,
.contact-section-textarea-field {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    color: var(--contact-section-navy);
}

.contact-section-input-field:focus,
.contact-section-textarea-field:focus {
    outline: none;
    border-color: var(--contact-section-purple);
    box-shadow: 0 0 0 4px rgba(131, 56, 236, 0.1);
}

.contact-section-submit-btn {
    width: 100%;
    background-color: var(--contact-section-purple);
    color: white;
    border: none;
    padding: 1.1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(131, 56, 236, 0.3);
    margin-top: 0.5rem;
}

.contact-section-submit-btn:hover {
    background-color: var(--contact-section-navy);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 27, 42, 0.2);
}

.contact-section-submit-btn:active {
    transform: translateY(-1px);
}

/* --- RESPONSIVE BREAKPOINTS --- */

/* Tablets and small desktops */
@media (max-width: 1024px) {
    .contact-section-container {
        gap: 2rem;
        padding: 3rem;
    }
}

/* Large Mobile and Tablets (Portrait) */
@media (max-width: 850px) {
    .contact-section {
        padding: 2rem 5%;
    }

    .contact-section-container {
        flex-direction: column;
        padding: 2.5rem 1.5rem;
        border-radius: 30px;
        text-align: center;
    }

    .contact-section-description {
        margin: 0 auto 2rem auto;
    }

    .contact-section-form-side {
        flex: none;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .contact-section-form-card {
        padding: 1.5rem;
    }

    .contact-section-heading {
        font-size: 1.8rem;
    }

    .contact-section-submit-btn {
        padding: 1rem;
    }
}

footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 5rem 8% 2rem;
    position: relative;
}

/* --- Footer Top: CTA/Newsletter Area --- */
.footer-cta {
    background: linear-gradient(135deg, var(--purple), #5a189a);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5rem;
    transform: translateY(-20%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cta-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-text p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.cta-form {
    display: flex;
    gap: 10px;
}

.cta-form input {
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: none;
    outline: none;
    width: 300px;
}

.btn-subscribe {
    background: var(--orange);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-subscribe:hover {
    background: var(--white);
    color: var(--purple);
}


.pricing-header-box {
    margin-bottom: 60px;
}

/* --- Main Footer Content --- */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo-desc .logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo-desc p {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--navy-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    color: white;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--purple);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 3px;
    background: var(--orange);
}

.footer-links a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 8px;
}

.contact-info p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- Copyright --- */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-cta {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        transform: translateY(0);
        margin-top: -8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-form {
        flex-direction: column;
        width: 100%;
    }

    .cta-form input {
        width: 100%;
    }
}

.fa-solid {
    margin-right: 10px;
}

/* --- Layout Grid --- */
.pricing-container {
    padding: 4rem 1.5rem;
    background: var(--bg-grey);
}

.pricing-header-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.pricing-title {
    color: var(--navy);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pricing-title-accent {
    color: var(--purple);
}

.pricing-layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
    /* Prevents cards from stretching if lengths differ */
}

/* --- Featured Card Logic (Premium) --- */
.pricing-item-card-featured {
    border: 2px solid var(--purple);
    transform: scale(1.05);
    /* Make it slightly bigger */
    z-index: 2;
    box-shadow: 0 20px 50px rgba(131, 56, 236, 0.15);
}

.pricing-featured-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--purple);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scarcity Tag (The Bolt Icon Area) */
.pricing-scarcity-tag {
    background: #FFF4E5;
    /* Light Orange BG */
    color: #B35F00;
    /* Darker Orange Text */
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.exclusivity-note {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 10px;
    line-height: 1.4;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
}

/* Responsive Fix */
@media (max-width: 900px) {
    .pricing-item-card-featured {
        transform: scale(1);
        /* Remove scale on mobile */
        margin-top: 2rem;
    }
}

.currency-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.currency-toggle {
    background: var(--re-gray);
    /* Light Gray Track */
    padding: 6px;
    border-radius: var(--pricing-pill);
    display: inline-flex;
    gap: 5px;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(13, 27, 42, 0.05);
    border: 1px solid rgba(13, 27, 42, 0.05);
}

.curr-btn {
    padding: 10px 24px;
    border: none;
    background: transparent;
    color: var(--purple);
    /* Dark text for inactive */
    opacity: 0.7;
    border-radius: var(--pricing-pill);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

/* Active State - The "Pop" */
.curr-btn.active {
    background: var(--white);
    color: var(--purple);
    opacity: 1;
    box-shadow: 0 4px 12px rgba(131, 56, 236, 0.15);
    /* Soft Purple Shadow */
    transform: scale(1.02);
}

/* Shared styles for both buttons */
.primary-link, 
.secondary-link {
    display: inline-block;
    padding: 16px 32px;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none; /* Removes underline */
    transition: transform 0.2s, opacity 0.2s; /* Smooth interaction */
    text-align: center;
}

.primary-link {
    background: var(--navy);
    color: #fff;
    margin-right: 20px;
}

.secondary-link {
    background: var(--orange);
    color: var(--navy);
}

/* Add Hover States - This makes them "look good" when used */
.primary-link:hover, 
.secondary-link:hover {
    opacity: 0.9;
    transform: translateY(-2px); /* Subtle lift effect */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.primary-link:active, 
.secondary-link:active {
    transform: translateY(0); /* Pushes down when clicked */
}

    .section-padding {
        padding: 60px 20px;
        max-width: 1200px;
        margin: 0 auto;
        font-family: system-ui, -apple-system, sans-serif;
    }

    .text-purple {
        color: var(--primary-color);
    }

    .portfolio__header {
        text-align: center;
        margin-bottom: 40px;
    }

    .portfolio__header h2 {
        font-size: 2.5rem;
        margin-bottom: 10px;
        color: var(--text-dark);
    }

    /* Tab Navigation Styles */
    .portfolio__tabs {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 40px;
        flex-wrap: wrap;
    }

    .portfolio__tab-btn {
        padding: 10px 25px;
        border: 2px solid #e9ecef;
        background: transparent;
        border-radius: 30px;
        cursor: pointer;
        font-weight: 600;
        color: var(--text-light);
        transition: all 0.3s ease;
    }

    .portfolio__tab-btn:hover {
        border-color: var(--primary-color);
        color: var(--primary-color);
    }

    .portfolio__tab-btn.active {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        color: white;
    }

    /* Content Visibility Logic */
    .portfolio__content {
        display: none; /* Hide all by default */
        animation: fadeIn 0.5s;
    }

    .portfolio__content.active {
        display: block; /* Show only active */
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Grid Layout */
    .portfolio__grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .portfolio__card {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0,0,0,0.05);
        transition: transform 0.3s ease;
    }

    .portfolio__card:hover {
        transform: translateY(-5px);
    }

    .portfolio__card-img-wrapper {
        position: relative;
        height: 200px;
    }

    .portfolio__card-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .portfolio__card-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background: rgba(255,255,255,0.9);
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: bold;
        color: var(--primary-color);
    }

    .portfolio__card-body {
        padding: 25px;
    }

    .portfolio__card-body h3 {
        margin: 0 0 10px;
        color: var(--text-dark);
    }

    .portfolio__card-body p {
        color: var(--text-light);
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .btn-outline {
        display: inline-block;
        text-decoration: none;
        color: var(--primary-color);
        font-weight: 600;
        border-bottom: 2px solid transparent;
    }

    .btn-outline:hover {
        border-color: var(--primary-color);
    }

    @media (max-width: 600px) {
    .opp-card {
        padding: 1.5rem; /* Reduce padding for small screens */
        border-radius: 16px;
    }
    
    .keyword-list {
        grid-template-columns: 1fr; /* Force single column on very small screens */
    }
}
/* 1. Global fix: ensure padding doesn't break widths */
* {
    box-sizing: border-box;
}

/* 2. The List Container */
.keyword-list {
    display: grid;
    /* Defaults to 1 column on mobile */
    grid-template-columns: 1fr; 
    gap: 1rem;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px; /* Prevents edges from touching screen */
}

/* 3. The Card */
.opp-card {
    background: var(--navy, #001f3f); /* Fallback color added */
    color: white;
    padding: 1.5rem; /* Smaller padding for mobile */
    border-radius: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* 4. Desktop Adjustments (Screens wider than 768px) */
@media (min-width: 768px) {
    .keyword-list {
        grid-template-columns: 1fr 1fr; /* Switch to 2 columns */
    }
    
    .opp-card {
        padding: 2.5rem; /* Restore large padding */
    }
  
}
@media(max-width:1200px)
{


.kw-text {
  white-space: pre-wrap;

}

}

.double-links {
    display: flex; /* Centers buttons horizontally */
    gap: 20px; /* Replaces margin-right for better spacing */
    flex-wrap: wrap; /* Allows wrapping on small screens */
    margin-top: 20px;
}

.primary-link, 
.secondary-link {
    display: inline-block;
    padding: 16px 32px;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease; /* Smoother animation */
    text-align: center;
    font-family: sans-serif; /* Ensures clean font */
    
    /* Mobile Optimization: Minimum width so they don't get too small */
    min-width: 160px; 
}

.primary-link {
    background: var(--navy);
    color: var(--white);
    border: 2px solid var(--navy); /* Adds definition */
}

.secondary-link {
    background: var(--orange); /* White background looks cleaner for secondary */
    color: var(--navy);
    border: 2px solid var(--orange); /* Orange border pops */
}

/* Hover States */
.primary-link:hover {
    background-color: #1E293B; /* Slightly lighter navy */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
    
}

.secondary-link:hover {
    background-color: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.primary-link:active, 
.secondary-link:active {
    transform: translateY(0);
}

/* 3. MOBILE OPTIMIZATION (Crucial for Instagram) */
@media (max-width: 600px) {
    .double-links {
        flex-direction: column; /* Stacks buttons vertically */
        align-items: center;
    }

    .primary-link, 
    .secondary-link {
        width: 100%; /* Full width buttons on phone */
        max-width: 300px; /* Stops them from being too wide on tablets */
    }
}

.navbar__logo {
  display: flex;
  align-items: center; /* Vertically centers the logo */
  padding: 0.5rem 1rem;
}

.navbar__logo img {
  width: 190px !important;
  height: auto; /* Maintains aspect ratio */
  display: block; /* Removes weird bottom whitespace */
  transition: transform 0.3s ease; /* Smooth hover effect prep */
   transform: scale(1.05);
}

/* Subtle hover effect for a premium feel */
.navbar__logo img:hover {
  transform: scale(1.05);
  cursor: pointer;
}
.pricing-feature-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.duration {
    margin-left: auto; /* Pushes '6 months' to the far right */
    white-space: nowrap; /* Keeps '6' and 'months' together */
}