:root {
    --primary-color: #6C1D9F;
    /* Deep Purple */
    --secondary-color: #F8F5FF;
    /* Light background */
    --text-color: #1A1A1A;
    --text-light: #666666;
    --white: #ffffff;
    --font-main: 'Almarai', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--white);
    color: var(--text-color);
    direction: rtl;
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    height: 100%;
}

/* Header */
.header {
    padding: 20px 0;
    background-color: transparent;
    position: relative;
    position: relative;
    z-index: 10;
}

.header-bg-shape {
    position: absolute;
    right: -51px;
    top: -57px;
    z-index: -1;
    width: 300px;
    pointer-events: none;
    transform: rotate(15.78deg);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
}

.nav-link.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    padding: 10px 25px;
}

.nav {
    display: flex;
    gap: 20px;
    /* Reduced gap to accommodate padding */
    align-items: center;
    /* Ensure vertical alignment */
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: #581682;
}

.btn-text {
    background: none;
    color: var(--primary-color);
    padding: 12px 20px;
}

/* Hero Section */
.hero-section {
    padding-top: 50px;
    /* Removed bottom padding to let image sit on edge if needed, or controlled by container */
    position: relative;
    min-height: 80vh;
    /* Adjust height */
    display: flex;
    align-items: center;
}

.hero-section .container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 619px;
    z-index: 5;
    padding-bottom: 100px;
    /* Give some space */
}

.hero-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #000;
    width: 619px;
}


.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 619px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Hero Image Container */
.hero-image-container {
    flex: 1;
    position: relative;
    display: flex;
    /* justify-content: flex-end; */
    /* Aligns content to left in RTL? No, flex-end of row. */
    /* In RTL, flex-start is Right, flex-end is Left. We want image on Left. So flex-end. */
    height: 100%;
    min-height: 500px;
}

/* Absolute positioning for bottom left alignment relative to the SECTION/Container */
/* But here we are inside .hero-image-container which is a flex item on the left */

.hero-dashboard-img {
    max-width: 140%;
    height: auto;
    position: relative;
    z-index: 2;
    transform: translate(-9%, -8px);
    /* Move slightly left/outside */
    border-radius: 12px;
}

.hero-pets-img {
    position: absolute;
    bottom: -12px;
    right: 90%;
    z-index: 3;
    /* width: 250px; */
}

/* Background Shapes */
.hero-bg-ellipse-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 0;
    /* opacity: 0.8; */
}

.hero-bg-ellipse-1 {
    position: absolute;
    bottom: -50px;
    left: -50px;
    z-index: 1;
}

/* Adjusting to put everything to bottom left as requested */
/* Rethinking structure to ensure "bottom left edge" */
/* If the user means bottom left of the screen/container */

.hero-image-container {
    /* Resetting for absolute placement logic if needed, but flex is safer for layout flow */
    position: relative;
    z-index: 1;
}




.hero-bg-ellipse-main {
    position: absolute;
    top: 75%;
    left: 85%;
    width: 110px;
    height: auto;
    z-index: 2;
}

.hero-bg-ellipse-1 {
    /* Ellipse 1.svg */
    position: absolute;
    bottom: 0;
    right: -7px;
    z-index: 1;
}

.hero-dashboard-img {
    position: relative;
    z-index: 2;
    display: block;
}




/* Header fixes for right alignment */
.header .logo {
    order: 1;
    /* Logo on right in RTL */
}

.header .nav {
    order: 2;
}

.header .header-action {
    order: 3;
}

/* Future Section */
.future-section {
    text-align: center;
    padding: 100px 0;
    position: relative;
    background-color: var(--white);
    /* White background */
}

.future-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 4;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #000;
}

.section-description {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
}

.bg-shape-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    z-index: 1;
    opacity: 0.1;
}

/* Future Section Background Pattern Images */
.future-bg-fill-1 {


    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
    width: 195px;
    /* Large bottom right shape */
    opacity: 0.6;
}

.future-bg-fill-4 {
    position: absolute;
    top: 27%;
    right: 0;
    z-index: 1;
    width: 194px;
    opacity: 0.6;
}

.future-bg-fill-5 {
    position: absolute;
    top: -98px;
    left: 0;
    z-index: 4;
    width: 212px;
    /* Purple corner shape */
}


/* Responsive Layouts */

/* Clean up overlap issues on medium screens */
@media (min-width: 1025px) and (max-width: 1300px) {
    .container {
        max-width: 95%;
    }

    .hero-dashboard-img {
        transform: translate(-2%, -8px);
        /* Less aggressive shift */
        max-width: 120%;
    }

    .hero-content {
        max-width: 45%;
    }
}

/* Tablet & Mobile (Max-width 1024px covers iPad Landscape) */
@media (max-width: 1024px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .header {
        padding-bottom: 20px;
    }

    .hero-section {
        min-height: auto;
        padding-bottom: 50px;
        padding-top: 30px;
    }

    .hero-section .container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
        align-items: center;
    }

    .hero-content {
        max-width: 100%;
        width: 100%;
        padding-bottom: 0;
        margin-bottom: 20px;
    }

    .hero-title,
    .hero-description {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-actions {
        justify-content: center;
    }

    /* Image Container adjustments for Tablet/Mobile */
    .hero-image-container {
        justify-content: center;
        width: 100%;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 0;
    }

    .hero-dashboard-img {
        transform: none;
        max-width: 80%;
        /* Reasonable size on tablet */
        width: auto;
        margin: 0 auto;
        left: 0;
        position: relative;
    }

    .hero-pets-img {
        position: absolute;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: -20px;
        width: 180px;
    }

    .hero-bg-ellipse-main {
        top: 72%;
        left: 89%;
        transform: translate(-50%, -50%);
    }
}

/* Mobile specific tweaks */
@media (max-width: 767px) {
    .hero-dashboard-img {
        max-width: 100%;
    }

    .hero-title {
        font-size: 28px;
    }

    /* Resize header shape for mobile */
    .header-bg-shape {
        width: 180px;
        right: -30px;
        top: -30px;
    }
}

/* Tablet adjustments for header shape */
@media (max-width: 1024px) {
    .header-bg-shape {
        width: 220px;
        /* Smaller than desktop */
    }
}

/* Features Grid Section - Row Based Layout */
.features-grid-section {
    padding: 100px 0;
    overflow-x: auto;
    background-color: white;
    position: relative;
    /* Needed for bg shapes */
}

.features-grid-layout-rows {
    display: flex;
    flex-direction: column;
    width: 100%;
    /* Ensure content width for desktop layout if needed */
    min-width: 1200px;
}

.feature-row {
    display: flex;
    width: 100%;

    justify-content: flex-end;
    /* Default direction RTL */

}

/* Common sizing */
.feature-text-block {
    width: 613px;
    /* As requested */
    flex-shrink: 0;
    padding: 30px;
    background-color: var(--white);
    display: flex;
    align-items: center;
}

.feature-card {
    width: 280px;
    /* Fixed width for alignment */
    flex-shrink: 0;
    padding: 40px 30px;
    border-radius: 0;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    min-height: 280px;
}

/* Row 1: Text(613) | Card | Card */
.row-1 .feature-card:nth-child(2) {
    background-color: rgba(108, 13, 154, 0.05);
}

.row-1 .feature-card:nth-child(3) {
    background-color: var(--white);
}

/* Row 2: Card | Card | Card */
/* Indent to align under the first card of Row 1.
   Row 1 starts with Text (613px). So Row 2 padding-right should be 613px. */
.row-2 {
    padding-right: 613px;
}

.row-2 .feature-card:nth-child(1) {
    background-color: rgba(108, 13, 154, 0.05);
}

.row-2 .feature-card:nth-child(2) {
    background-color: var(--white);
}

.row-2 .feature-card:nth-child(3) {
    background-color: rgba(108, 13, 154, 0.05);
}

/* Row 3: Card | Card | Card */
/* Indent to align under the second card of Row 2.
   Row 2 starts after 613px. First card is 280px.
   So Row 3 padding-right should be 613px + 280px = 893px. */
.row-3 {
    /* padding-right: 893px; */
    padding-left: 280px;
}

.row-3 .feature-card:nth-child(1) {
    background-color: rgba(108, 13, 154, 0.05);


}

.row-3 .feature-card:nth-child(2) {
    background-color: var(--white);


}

.row-3 .feature-card:nth-child(3) {
    background-color: rgba(108, 13, 154, 0.05);
}


/* Reset specialized colors */
.feature-intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    font-weight: 700;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(108, 13, 154, 0.3);
    /* 30% opacity of #6C0D9A */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon-bg {
    display: none;
    /* User requested removing the icon */
}

.feature-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    line-height: 1.4;
    margin-bottom: auto;
}

.feature-card-arrow {
    font-size: 24px;
    color: #4A4A4A;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); */
    transition: all 0.3s ease;
    align-self: flex-end;
    /* Move to Left in RTL */
}

/* .feature-card-arrow:hover removed */

/* Responsive Overrides */
@media (max-width: 1200px) {
    .features-grid-layout-rows {
        min-width: 100%;
        /* Flatten hierarchy for responsive: */
        flex-direction: row;
        flex-wrap: wrap;
    }

    .feature-row {
        /* Make row containers disappear visually so children flow together */
        display: contents;
    }

    .feature-text-block,
    .feature-card {
        width: 50%;
        /* Tablet: 2 per line */
        max-width: 50%;
        flex: 0 0 50%;
        /* Ensure border box sizing */
        box-sizing: border-box;
    }

    /* On tablet, apply checkerboard pattern simply by order */
    /* This might be complex with display:contents but let's try basic nth-child on direct children if possible, 
       but here they are grandchildren. 
       We will rely on the existing row-based coloring which might look random but acceptable, 
       or we force override if needed. 
       For now, let's just make the layout work without gaps.
    */

    /* Remove indentation styles explicitly again */
    .row-2,
    .row-3 {
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* Reset row specific backgrounds for a consistent responsive checkerboard */
/* Mobile/Tablet logic: Simple alternating if possible, or just keep row logic if it looks okay.
       Row logic was:
       R1: Text(W) | C1(P) | C2(W)
       R2: C3(W) | C4(P) | C5(W) (After user edit logic)
       R3: C6(P) | C7(W) | C8(P)
       
       If we stack them 2 per row on tablet:
       Row 1: Text(W) C1(P) | C2(W) -> 3 items. Last one wraps?
       Wait, flex-wrap with 50%.
       Row 1: [Text(50%)] [C1(50%)]
              [C2(50%)]
       Row 2: [C3] [C4]
              [C5]
       This might leave gaps or uneven rows.
       
       Better approach for <1200px: Make them all 50% or 100%.
    */
/* } <-- Removed this stray syntax error */

@media (max-width: 768px) {

    .feature-text-block,
    .feature-card {
        width: 100%;
        /* Mobile: 1 per row */
        max-width: 100%;
        flex: 0 0 100%;
    }

    .feature-text-block {
        text-align: center;
        justify-content: center;
    }

    .feature-card {
        align-items: center;
        text-align: center;
        min-height: auto;
    }

    .feature-card-arrow {
        align-self: center;
        margin-top: 20px;
    }
}

.features-grid-section .future-bg-fill-1 {


    position: absolute;
    top: 33%;
    right: 0;
    z-index: 1;
    width: 195px;
    opacity: 0.6;
}

/* Duplicated shapes on the left side */
.feature-bg-fill-1-left {
    position: absolute;
    top: 53%;
    /* Match the user's manual style for the right one */
    left: 0;
    z-index: 1;
    width: 195px;
    opacity: 0.6;
    transform: scaleX(-1);
    /* Mirror for symmetry */
}

.feature-bg-fill-4-left {
    position: absolute;
    top: 50%;
    /* Match original .future-bg-fill-4 style */
    left: 0;
    z-index: 1;
    width: 194px;
    opacity: 0.6;
    transform: scaleX(-1);
    /* Mirror for symmetry */
}

/* Vision & Mission Section */
.vision-mission-section {
    padding: 100px 0;
    min-height: 600px;
    position: relative;
    background-color: var(--secondary-color);
}

.vision-mission-section .section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 36px;
    font-weight: 800;
}

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

.vm-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: stretch;
}

.vm-card {
    background-color: var(--white);
    border-radius: 8px;
    /* Slightly rounded */
    padding: 50px;
    flex: 1 1 45%;
    /* Use percentage to allow flex resizing */
    min-width: 450px;
    /* Reduced min-width */
    max-width: 600px;
    position: relative;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
    /* Subtle */
    display: flex;
    flex-direction: row;
    /* Content | Icon */
    align-items: flex-start;
    justify-content: space-between;
    overflow: hidden;
    height: 380px;
    padding-right: 78px;
    /* Fixed height to match images? */
}

/* Content Side (Right in RTL) */
/* Content Side (Right in RTL) */
.vm-content-side {
    flex: 1;
    position: relative;
    padding-left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 10px;
    /* Give it a little breathing room from the top edge */
    height: 100%;
}

/* Visual Side (Left in RTL) */
/* Visual Side (Left in RTL) */
.vm-visual-side {
    width: 100px;
    height: 200px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
    margin-top: -20px;
    /* Slight nudge up */
}

.vm-visual-side img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.vm-number {
    position: absolute;
    top: -56px;
    right: -73px;
    font-size: 231px;
    font-weight: 800;
    color: rgba(108, 29, 159, 0.03);
    z-index: -1;
    pointer-events: none;
    font-family: var(--font-main);
    line-height: 1;
}

.vm-card-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #000;
    position: relative;
    z-index: 2;
}

.vm-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    text-align: justify;
    max-width: 320px;
    /* Limit width to not overlap icon area too much visually */
}

.vm-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.vm-list li {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
    padding-right: 20px;
    position: relative;
}

.vm-list li::before {
    content: "•";
    color: #ccc;
    position: absolute;
    right: 0;
    top: -2px;
    font-size: 20px;
}

/* Responsive */
@media (max-width: 900px) {
    .vm-card {
        flex-direction: column-reverse;
        /* Icon top, Text bottom */
        height: auto;
        padding: 40px;
        text-align: center;
        min-width: 100%;
        flex: 1 1 100%;
    }

    .vm-content-side {
        padding-left: 0;
        align-items: center;
        width: 100%;
    }

    .vm-visual-side {
        width: 150px;
        height: 150px;
        margin-bottom: 30px;
    }

    .vm-text {
        text-align: center;
        max-width: 100%;
    }

    .vm-list li {
        text-align: center;
        padding-right: 0;
    }

    .vm-list li::before {
        position: static;
        display: inline-block;
        margin-left: 5px;
    }

    .vm-number {
        font-size: 200px;
        top: 20px;
        right: 50%;
        transform: translateX(50%);
    }
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
    /* Ensure z-index context if needed */
    z-index: 5;
}

.services-header {
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-top: 10px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* gap: 30px; */
}

.service-card:nth-child(even) {
    background-color: #F8F3FA;
}

.service-card:nth-child(even) .service-icon-wrapper {
    background-color: #fff;
}



.service-card {
    background: #fff;

    padding: 40px 30px;
    text-align: right;

    flex: 0 0 calc(33.333% - 20px);

    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.service-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: var(--secondary-color);

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;

}

.service-icon-wrapper img {
    width: 32px;
    height: 32px;
}

.service-card-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #1A1A1A;
}

.service-card-desc,
.service-list-intro {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 400;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-top: auto;
    /* Push to bottom if height is fixed, but it's flex auto here */
    width: 100%;
}

.service-list li {
    position: relative;
    padding-right: 20px;
    margin-bottom: 10px;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.service-list li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-size: 18px;
    line-height: 1;
    top: 2px;
}

/* Responsive for Services */
@media (max-width: 1024px) {
    .service-card {
        flex: 0 0 calc(50% - 15px);
        /* 2 columns */
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .service-card {
        flex: 0 0 100%;
        /* 1 column */
    }

    .services-section {
        padding: 60px 0;
    }
}

/* Footer Section */
.footer-section {
    position: relative;
    padding-top: 100px;
    /* Space for the floating card or just top padding */
    padding-bottom: 50px;
    background-color: var(--secondary-color);
    /* Footer area background */
    /* margin-top: 100px; */
}

/* Support Banner (Purple Area) */
.support-banner {
    background-color: var(--primary-color);
    border-radius: 0;
    padding: 35px 100px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: var(--white);
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    /* min-height: 441px; */
    margin-bottom: -80px;
    position: relative;
    z-index: 1;
    padding-bottom: 100px;
    /* Add gap between the 3 elements */
}

/* .support-content removed */

.support-image-container {
    position: relative;
    /* width: 400px; */
    z-index: 2;
    flex-shrink: 0;
    margin-right: -50px;
    /* Pull image slightly right to edge if needed */
    margin-bottom: -50px;
    /* Align to bottom */
    align-self: flex-start;
    /* Align image to bottom of container */
    text-align: left;
}

.support-img {
    width: 85%;
    height: auto;
    /* The paper boat image */
}

/* Text Styling */
/* Adjust element widths to fit in row */
.support-title {
    flex: 1;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 0;
    /* Remove bottom margin as it's flex item now */
    line-height: 1.5;
    z-index: 2;
}

.support-action {
    display: flex;
    flex-direction: column;
    /* Subtitle and button stacked? Or side by side? 
                             User said "action and image ... all have display flex".
                             Let's assume action block is a column of text + button. 
                             Or maybe row? "هل لديك..." text then button.
                             Let's keep it column for now as per design text flow usually.
                             Wait, previous design had them side-by-side in .support-action.
                             Let's keep .support-action as flex column or row?
                             Let's make it column to stack text and button, or row if they want text -> button.
                             "هل لديك استفسار... \n فريق..." is text. Button is "تواصل معنا".
                             Let's stick to vertical stack for text and button inside action? 
                             Actually, looking at the image: 
                             Right: Text (Big Title)
                             Center: Text (Subtitle) + Button
                             Left: Image
                             So .support-action should probably be flex-direction: column; aligning items.
                          */
    flex: 1;
    align-items: flex-start;
    gap: 20px;
    z-index: 2;
}

.support-subtitle {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid #FFD700;
    /* Yellowish border? Or text color yellow */
    color: #FFD700;
    padding: 10px 30px;
}

/* Wait, image shows Update: "Contact Us" is yellow text, maybe button style? 
   The image shows "تواصل معنا" in yellow, looking like a link or ghost button. 
   Let's check the design again. It looks like a button with yellow text, maybe no border or minimal.
   Image: "تواصل معنا" is yellow. "هل لديك..." is white.
*/
.btn-secondary {
    background: transparent;
    color: #FFD700;
    /* Gold/Yellow */
    border: none;
    font-size: 18px;
    padding: 0;
    text-decoration: underline;
    /* Maybe? Or just text */
    font-weight: 800;
}


/* Overlapping Social Card */
.social-media-card {
    background-color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    padding: 30px 50px;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: 40px;
    /* Move up to overlap */
}

/* Wait, the design has the banner at the top, then social card overlapping the bottom of banner and top of footer links? 
   Yes. "تابعنا..."
*/

.social-text {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-link img {
    width: 40px;
    height: 40px;
    transition: transform 0.2s;
}

.social-link:hover img {
    transform: scale(1.1);
}

/* Footer Links Area */
.footer-links-area {
    padding-top: 100px;
    /* Space after the overlapping card */
    padding-bottom: 40px;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 150px;
}

.branding-col {
    flex: 2;
    /* Wider */
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    max-width: 300px;
}

.footer-col-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    /* Title color generic or primary? Image shows purple/blueish */
    color: #524B85;
    /* Visual match */
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #666;
    /* Light text */
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .support-banner {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px 200px 20px;
        /* Extra bottom padding for image */
    }

    /* .support-content removed */

    .support-action {
        align-items: center;
        /* Center button/text on mobile */
    }

    .support-image-container {
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: 40px;
        width: 300px;
        align-self: center;
        /* Center image in column */
        margin-right: 0;
        margin-bottom: 0;
    }

    .social-media-card {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        top: -60px;
        width: 90%;
    }
}

@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        gap: 30px;
    }

    .support-title {
        font-size: 28px;
    }

    .support-action {
        /* Already centered above, but ensure gap or direction if needed */
        flex-direction: column;
        gap: 15px;
    }
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    text-align: center;
    margin-bottom: 250px;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 36px;
    font-weight: 800;
    color: #1e1e38;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.footer-section .container {
    margin-top: -180px;
}

/* CSS for Contact Page Redesign */

.contact-page-section {
    padding: 50px 0 100px;
    background-color: var(--secondary-color);
    margin-bottom: 250px;
    /* Matches existing theme */
}

/* Contact Info Cards */
.contact-info-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.contact-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.contact-card-text {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-card-link {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 16px;
}

/* Contact Form & Map Container */
.contact-form-map-wrapper {
    display: flex;
    gap: 30px;
    align-items: stretch;
    flex-direction: row-reverse;
}

/* Form Section */
.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    width: 35%;
    /* Adjust width as per design typical split */
    min-width: 350px;
}

.contact-form-header {
    margin-bottom: 30px;
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.form-subtitle {
    color: var(--text-light);
    font-size: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #000;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.form-checkbox label {
    font-size: 14px;
    color: var(--text-color);
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 16px;
}

/* Map Section */
.contact-map-container {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 500px;
}

.contact-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Map Overlay Card */
.map-overlay-card {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: right;
}

.map-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.map-card-text {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.5;
}

.map-card-link {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-form-map-wrapper {
        flex-direction: column;
    }

    .contact-form-container {
        width: 100%;
    }

    .contact-map-container {
        min-height: 400px;
    }

    .map-overlay-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin: -40px 20px 20px 20px;
        /* Pull it up over map slightly or just stack */
        width: calc(100% - 40px);
        max-width: none;
    }
}

@media (max-width: 768px) {
    .contact-info-cards {
        flex-direction: column;
    }

    .contact-card {
        width: 100%;
    }

    .contact-map-container {
        min-height: 300px;
    }
}