

/* --- AGENT PAGE HEADER SECTION --- */
.agent-page-header-section {
    width: 100%;
    background-color: #ffffff;
    padding: 80px 40px 20px 40px;
    box-sizing: border-box;
    font-family: 'Playfair Display', Georgia, serif;
    margin-top: 120px;
}

.agent-page-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* --- MAIN TITLE (Exact Match with Editorial Serif Style) --- */
.agent-page-title-wrapper {
    margin-bottom: 90px;
}

.agent-page-main-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 400;
    line-height: 1.25;
    color: #063430;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* --- BREADCRUMB NAVIGATION --- */
.agent-page-breadcrumb-wrapper {
    width: 100%;
}

.agent-page-breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif; /* Muted Gold Sans-Serif font */
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.agent-page-breadcrumb-link {
    color: #F7A707; /* Exact Muted Gold Tone */
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.agent-page-breadcrumb-link:hover {
    opacity: 0.8;
}

.agent-page-breadcrumb-separator {
    color: #F7A707;
    font-size: 0.9rem;
}

.agent-page-breadcrumb-current {
    color: #F7A707;
    font-weight: 600;
}

/* --- BOTTOM SOLID DIVIDER LINE --- */
.agent-page-divider-line {
    border: none;
    height: 1.5px;
    background-color: #063430;
    margin: 0;
    width: 100%;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 768px) {
    .agent-page-header-section {
        padding: 50px 20px 15px 20px;
    }
    
    .agent-page-title-wrapper {
        margin-bottom: 50px;
    }

    .agent-page-breadcrumb-nav {
        font-size: 0.9rem;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .agent-page-main-heading {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .agent-page-breadcrumb-nav {
        font-size: 0.8rem;
    }
}

/* --- TABS SECTION CONTAINER --- */
.agent-page-tabs-section {
    width: 100%;
    background-color: #ffffff;
    padding: 20px 40px 80px 40px;
    box-sizing: border-box;
    font-family: 'Playfair Display', Georgia, serif;
}

.agent-page-tabs-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* --- TABS NAVIGATION (Top Header) --- */
.agent-page-tabs-nav {
    display: flex;
    align-items: center;
    gap: 70px; /* Spacing between tab labels */
    margin-bottom: 60px;
}

.agent-page-tab-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    outline: none;
}

.agent-page-tab-label {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #063430;
    transition: color 0.3s ease;
}

/* Inactive tabs hover effect */
.agent-page-tab-btn:hover .agent-page-tab-label {
    color: #F7A707;
}

/* Active Tab Label Style */
.agent-page-tab-btn.agent-page-active .agent-page-tab-label {
    color: #F7A707; /* Exact Muted Gold Tone */
}

/* Muted Gold Dot Under Active Tab */
.agent-page-tab-dot {
    width: 9px;
    height: 9px;
    background-color: #F7A707;
    border-radius: 50%;
    margin-top: 10px;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.agent-page-tab-btn.agent-page-active .agent-page-tab-dot {
    opacity: 1;
    transform: scale(1);
}

/* --- TAB CONTENT PANES & ANIMATION --- */
.agent-page-tabs-content-wrapper {
    position: relative;
    min-height: 180px;
}

.agent-page-tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.agent-page-tab-pane.agent-page-active-pane {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* --- 1. OVERVIEW CONTENT LAYOUT (Matching Screenshot) --- */
.agent-page-overview-card {
    display: flex;
    align-items: center;
    gap: 35px;
}

.agent-page-logo-frame {
    width: 170px;
    height: 170px;
    border: 1.5px solid #F7A707; /* Gold border frame */
    border-radius: 20px; /* Smooth rounded corners */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.agent-page-builder-logo {
    width: 80px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 8px;
}

.agent-page-logo-text {
    font-family: sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    color: #F7A707; /* Orange-Gold Branding Color */
    text-align: center;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.agent-page-builder-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.agent-page-builder-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 400;
    color: #063430;
    margin: 0;
    line-height: 1.1;
}

.agent-page-builder-location {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 400;
    color: #063430;
    margin: 0;
    line-height: 1.1;
}

/* --- 2. CONTACT TAB LAYOUT --- */
.agent-page-contact-card {
    background-color: #fafafa;
    border-left: 3px solid #c8a355;
    padding: 25px 30px;
    border-radius: 4px;
}

.agent-page-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 40px;
    font-family: sans-serif;
}

.agent-page-contact-label {
    font-size: 0.85rem;
    color: #F7A707;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.agent-page-contact-val {
    font-size: 1.05rem;
    color: #063430;
    margin: 0;
    font-weight: 500;
}

/* --- 3. PROJECTS TAB LAYOUT --- */
.agent-page-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    font-family: sans-serif;
}

.agent-page-project-card {
    border-radius: 6px;
    padding: 20px;
    background: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.agent-page-project-card:hover {
    transform: translateY(-4px);
    border-color: #F7A707;
}

.agent-page-project-badge {
    display: inline-block;
    font-size: 0.75rem;
    background-color: transparent;
    color: #F7A707;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.agent-page-project-name {
   font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    color: #063430;
    margin: 0 0 6px 0;
}

.agent-page-project-desc {
    font-size: 0.88rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 900px) {
    .agent-page-tabs-nav {
        gap: 40px;
    }
    .agent-page-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .agent-page-tabs-section {
        padding: 15px 20px 50px 20px;
    }

    .agent-page-tabs-nav {
        gap: 25px;
        margin-bottom: 35px;
    }

    .agent-page-tab-label {
        font-size: 1.3rem;
    }

    .agent-page-overview-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .agent-page-logo-frame {
        width: 140px;
        height: 140px;
    }

    .agent-page-contact-grid,
    .agent-page-projects-grid {
        grid-template-columns: 1fr;
    }
}

/* --- ABOUT & CONTACT SECTION CONTAINER --- */
.agent-page-about-contact-section {
    width: 100%;
    background-color: #ffffff;
    padding: 60px 10px 80px 10px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    color: #063430;
}

.agent-page-about-contact-container {
    max-width: 1300px;
    margin: 0 auto;
}

/* --- COMMON HEADINGS (Matching Editorial Serif Style) --- */
.agent-page-section-heading {
   font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    color: #063430;
    margin: 0 0 35px 0;
}

/* --- ABOUT DEVELOPER TEXT CONTENT --- */
.agent-page-about-wrapper {
    margin-bottom: 70px;
}

.agent-page-about-text-content {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #063430;
    font-weight: 400;
    text-align: justify;
}

.agent-page-about-text-content p {
    margin: 0 0 20px 0;
}

.agent-page-about-text-content p:last-child {
    margin-bottom: 0;
}

/* --- CONTACT SECTION GRID --- */
.agent-page-contact-three-col-grid {
    display: grid;
    grid-template-columns: 220px 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* Metadata Items Style */
.agent-page-meta-item {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #063430;
    margin-bottom: 14px;
    line-height: 1.3;
}

.agent-page-contact-col .agent-page-meta-item:last-child {
    margin-bottom: 0;
}

/* --- SOCIAL ICONS COLORED LAYOUT --- */
.agent-page-contact-socials {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 4px;
}

.agent-page-social-row {
    display: flex;
    align-items: center;
    gap: 22px;
}

.agent-page-social-icon {
    font-size: 1.6rem;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.agent-page-social-icon:hover {
    transform: scale(1.15);
    opacity: 0.85;
}

/* Individual Social Media Colors (Exact Match with Screenshot) */
.agent-page-whatsapp { color: #25D366; }
.agent-page-facebook { color: #1877F2; }
.agent-page-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.agent-page-pinterest { color: #E60023; }
.agent-page-tiktok { color: #063430; }
.agent-page-youtube { color: #FF0000; }
.agent-page-email-icon { color: #F5A623; }

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 900px) {
    .agent-page-contact-three-col-grid {
        grid-template-columns: 180px 240px 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .agent-page-about-contact-section {
        padding: 40px 20px 50px 20px;
    }

    .agent-page-about-wrapper {
        margin-bottom: 45px;
    }

    .agent-page-contact-three-col-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .agent-page-contact-socials {
        padding-top: 0;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .agent-page-about-text-content {
        font-size: 0.88rem;
        line-height: 1.65;
        text-align: left;
    }

    .agent-page-meta-item {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .agent-page-social-icon {
        font-size: 1.4rem;
    }

    .agent-page-social-row {
        gap: 18px;
    }
}

/* --- COMPLETED PROJECTS SECTION --- */
.agent-page-completed-section {
    width: 100%;
    background-color: #ffffff;
    padding: 60px 40px 100px 40px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    color: #063430;
}

.agent-page-completed-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* --- SECTION HEADING --- */
.agent-page-completed-heading {
   font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    color: #063430;
    margin: 0 0 50px 0;
}

/* --- PROJECTS GRID (4 Columns Desktop) --- */
.agent-page-projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 45px 30px;
    margin-bottom: 80px;
}

/* Individual Card */
.agent-page-project-card {
    display: flex;
    flex-direction: column;
}

/* Image Frame Aspect Ratio Fix */
.agent-page-project-img-box {
    width: 100%;
    aspect-ratio: 1 / 1; /* Square ratio matching screenshot */
    overflow: hidden;
    margin-bottom: 14px;
    background-color: #f4f4f4;
}

.agent-page-project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.agent-page-project-card:hover .agent-page-project-img {
    transform: scale(1.05); /* Smooth Zoom Effect on Hover */
}

/* Card Text Info */
.agent-page-project-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.agent-page-project-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #063430;
    margin: 0 0 2px 0;
    line-height: 1.35;
}

.agent-page-project-location {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #063430;
    margin: 0 0 10px 0;
    line-height: 1.35;
}

/* --- SMALL 'CLICK HERE' BUTTON STYLES --- */
.agent-page-click-btn {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.agent-page-click-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
    background-color: #F7A707;
}

/* Color Variants from Screenshot */
.agent-page-btn-black {
    background-color: #063430;
    color: #ffffff;
    border: 1px solid #063430;
    outline: 1.5px solid #063430;
    outline-offset: 2px;
}

.agent-page-btn-gold {
    background-color: #F7A707;
    color: #ffffff;
    border: 1px solid #F7A707;
    outline: 1.5px solid #F7A707;
    outline-offset: 2px;
}

.agent-page-btn-grey {
    background-color: #a3a3a3;
    color: #ffffff;
    border: 1px solid #a3a3a3;
    outline: 1.5px solid #a3a3a3;
    outline-offset: 2px;
}

/* --- BOTTOM 'SIMILAR PROJECTS LIKE THIS' BUTTON --- */
.agent-page-bottom-action-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
}

.agent-page-similar-projects-btn {
    display: inline-block;
    background-color: #063430;
    color: #ffffff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 400;
    text-decoration: none;
    padding: 16px 50px;
    border: 1px solid #063430;
    outline: 2px solid #063430;
    outline-offset: 6px;
    transition: all 0.3s ease;
    text-align: center;
}

.agent-page-similar-projects-btn:hover {
    background-color: #063430;
    transform: translateY(-2px);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .agent-page-projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px 25px;
    }
}

@media (max-width: 768px) {
    .agent-page-completed-section {
        padding: 40px 20px 60px 20px;
    }

    .agent-page-completed-heading {
        margin-bottom: 30px;
    }

    .agent-page-projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
        margin-bottom: 50px;
    }

    .agent-page-similar-projects-btn {
        padding: 12px 30px;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .agent-page-projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .agent-page-project-title,
    .agent-page-project-location {
        font-size: 0.9rem;
    }
}


/* --- UPCOMING PROJECTS SECTION --- */
.agent-page-upcoming-section {
    width: 100%;
    background-color: #ffffff;
    padding: 60px 40px 100px 40px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    color: #063430;
}

.agent-page-upcoming-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* --- SECTION HEADING --- */
.agent-page-upcoming-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    color: #063430;
    margin: 0 0 50px 0;
}

/* --- PROJECTS GRID (4 Columns Structure for consistent card size) --- */
.agent-page-upcoming-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 45px 30px;
    margin-bottom: 80px;
}

/* Individual Card */
.agent-page-upcoming-card {
    display: flex;
    flex-direction: column;
}

/* Image Square Aspect Ratio Box */
.agent-page-upcoming-img-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 14px;
    background-color: #f4f4f4;
}

.agent-page-upcoming-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.agent-page-upcoming-card:hover .agent-page-upcoming-img {
    transform: scale(1.05); /* Hover Zoom Effect */
}

/* Card Information */
.agent-page-upcoming-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.agent-page-upcoming-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #063430;
    margin: 0 0 2px 0;
    line-height: 1.35;
}

.agent-page-upcoming-location {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #063430;
    margin: 0 0 10px 0;
    line-height: 1.35;
}

/* --- SMALL BUTTON VARIANTS --- */
.agent-page-click-btn {
    display: inline-block;
    padding: 12px 22px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.agent-page-click-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.agent-page-btn-black {
    background-color: #063430;
    color: #ffffff;
    border: 1px solid #063430;
    outline: 1.5px solid #063430;
    outline-offset: 2px;
}

.agent-page-btn-gold {
    background-color: #F7A707;
    color: #ffffff;
    border: 1px solid #F7A707;
    outline: 1.5px solid #F7A707;
    outline-offset: 2px;
}

/* --- BOTTOM GOLD CTA BUTTON (Double-Border Frame) --- */
.agent-page-upcoming-bottom-action {
    display: flex;
    justify-content: center;
    width: 100%;
}

.agent-page-similar-projects-gold-btn {
    display: inline-block;
    background-color: #F7A707; /* Screenshot Muted Gold Background */
    color: #ffffff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 400;
    text-decoration: none;
    padding: 16px 50px;
    border: 1px solid #b89a5b;
    outline: 2px solid #b89a5b; /* Outer Gold Border */
    outline-offset: 8px;       /* Spacing for double-border effect */
    transition: all 0.3s ease;
    text-align: center;
}

.agent-page-similar-projects-gold-btn:hover {
    background-color: #F7A707;
    transform: translateY(-2px);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .agent-page-upcoming-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px 25px;
    }
}

@media (max-width: 768px) {
    .agent-page-upcoming-section {
        padding: 40px 20px 60px 20px;
    }

    .agent-page-upcoming-heading {
        margin-bottom: 30px;
    }

    .agent-page-upcoming-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
        margin-bottom: 50px;
    }

    .agent-page-similar-projects-gold-btn {
        padding: 12px 30px;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .agent-page-upcoming-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .agent-page-upcoming-title,
    .agent-page-upcoming-location {
        font-size: 0.9rem;
    }
}

/* --- BANNER AD SECTION CONTAINER --- */
.agent-page-banner-ad-section {
    width: 100%;
    background-color: #ffffff;
    padding: 60px 40px 100px 40px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 150px;
}

.agent-page-banner-ad-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- MAIN BANNER AD PLACEHOLDER BOX --- */
.agent-page-banner-ad-box {
    width: 100%;
    aspect-ratio: 16 / 9; /* Standard banner aspect ratio */
    max-height: 820px;
    border: 1px solid #737373;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    box-sizing: border-box;
}

/* Background Cross Lines (Placeholder SVG) */
.agent-page-banner-svg-cross {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Center Text Inside Banner */
.agent-page-banner-text-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.agent-page-banner-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 400;
    color: #a3a3a3;
    letter-spacing: 1px;
    line-height: 1.1;
    text-transform: uppercase;
}

.agent-page-banner-dimensions {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    font-weight: 400;
    color: #a3a3a3;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

/* --- FLOATING BLACK BADGE CARD (Bottom-Right Offset) --- */
.agent-page-banner-badge-card-link {
    text-decoration: none !important;
    position: absolute;
    bottom: -60px;
    right: -40px;
    z-index: 10;
}

.agent-page-banner-badge-card {
    width: 250px;
    height: 250px;
    background-color: #063430;
    padding: 30px 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agent-page-banner-badge-card-link:hover .agent-page-banner-badge-card {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.agent-page-badge-main-text {
    font-family: 'Times New Roman', Georgia, serif;
    font-size: 1.65rem;
    font-weight: 400;
    color: #c8a355; /* Gold Brand Tone */
    line-height: 1.25;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

.agent-page-badge-sub-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: block;
    margin-top: auto;
    margin-bottom: 2px;
}

.agent-page-badge-action-text {
    font-family: 'Times New Roman', Georgia, serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #ffffff;
    display: block;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 900px) {
    .agent-page-banner-badge-card-link {
        bottom: -40px;
        right: -20px;
    }
    .agent-page-banner-badge-card {
        width: 200px;
        height: 200px;
        padding: 20px;
    }
    .agent-page-badge-main-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 600px) {
    .agent-page-banner-ad-section {
        padding: 40px 20px 80px 20px;
    }

    .agent-page-banner-ad-box {
        aspect-ratio: 4 / 3;
    }

    /* Mobile screen par offset overlap adjust */
    .agent-page-banner-badge-card-link {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: -30px;
        display: flex;
        justify-content: flex-end;
        width: 100%;
    }

    .agent-page-banner-badge-card {
        width: 170px;
        height: 170px;
        padding: 16px;
    }

    .agent-page-badge-main-text {
        font-size: 1.1rem;
    }

    .agent-page-badge-sub-text {
        font-size: 0.62rem;
    }

    .agent-page-badge-action-text {
        font-size: 0.85rem;
    }
}
/* --- MAIN BANNER AD PLACEHOLDER BOX (STRICT SQUARE) --- */
.agent-page-banner-ad-box {
    width:700px;           /* Fixed Width */
    height: 700px;          /* Fixed Height for exact Square */
    max-width: 100%;        /* Screen se bahar na jaye */
    margin: 0 auto;         /* Center Align */
    border: 1px solid #737373;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    box-sizing: border-box;
}

/* --- FLOATING BLACK BADGE CARD --- */
.agent-page-banner-badge-card-link {
    text-decoration: none !important;
    position: absolute;
    bottom: -35px;
    right: -35px;
    z-index: 10;
}

.agent-page-banner-badge-card {
    width: 180px;
    height: 180px;
    background-color: #063430;
    padding: 20px 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agent-page-banner-badge-card-link:hover .agent-page-banner-badge-card {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 600px) {
    .agent-page-banner-ad-box {
        width: 300px;       /* Mobile Par Perfect Small Square */
        height: 300px;
    }

    .agent-page-banner-badge-card-link {
        bottom: -20px;
        right: -10px;
    }

    .agent-page-banner-badge-card {
        width: 140px;
        height: 140px;
        padding: 12px;
    }

    .agent-page-badge-main-text {
        font-size: 1.1rem;
    }

    .agent-page-badge-sub-text {
        font-size: 0.6rem;
    }

    .agent-page-badge-action-text {
        font-size: 0.75rem;
    }
}


/* Container & Section Setup */
.banner-ad-section {
    width: 100%;
    max-width: 700px; /* Layout Limit */
    margin: 40px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.banner-ad-wrapper {
    position: relative;
    width: 100%;
}

/* 1:1 Aspect Ratio Box (700px x 700px relative) */
.banner-slider-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    background-color: #e5e5e5;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Slide Transition Setup */
.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.banner-slide.active {
    opacity: 1;
    z-index: 2;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Size Spec Badge */
.banner-size-badge {
    position: absolute;
    top: -40px;
    right: 15px;
    background-color: rgba(6, 52, 48, 0.85); /* Premium Dark Teal Accent */
    color: #ffffff;
      font-family: "Poppins", sans-serif;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 0;
    z-index: 10;
    backdrop-filter: blur(4px);
}

/* Bottom Right Deals Card Badge */
.deals-badge-card {
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 220px;
    aspect-ratio: 1 / 1;
    background-color: #063430;
    color: #ffffff;
    text-decoration: none;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 15;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.deals-badge-card:hover {
    transform: translateY(-4px);
    background-color: #063430; /* Smooth Dark Teal Hover */
}

/* Deals Typography */
.deals-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.deals-title {
    font-family: 'Playfair Display', Georgia, serif;
    color: #F7A707; /* Gold Tone */
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
    letter-spacing: 1px;
}

.deals-subtitle {
      font-family: "Poppins", sans-serif;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #cccccc;
    margin: 6px 0 0 0;
}

.deals-link {
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-top: 4px;
}

/* Responsive adjustments for Mobile Screen */
@media (max-width: 600px) {
    .deals-badge-card {
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
        aspect-ratio: auto;
        margin-top: 15px;
    }
    
    .banner-ad-section {
        padding: 0 10px;
    }
}

.agent-page-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.agent-social-text-link {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #063430; /* आपकी थीम का रंग */
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.agent-social-text-link:hover {
  opacity: 0.7;
  text-decoration: underline; /* होवर करने पर अंडरलाइन दिखेगी */
}

/* FB | IG | IN के बीच की लाइन का स्टाइल */
.agent-social-divider {
  color: #ccc;
  font-size: 12px;
}

.agent-page-bottom-action-wrap:hover .agent-page-similar-projects-btn,
.agent-page-similar-projects-btn:hover {
    background-color: #FFC107; /* होवर पर बैकग्राउंड पीला */
    color: #063430; /* होवर पर टेक्स्ट डार्क */
    border-color: #FFC107;
}

/* 1. बाहरी सेक्शन - अगल-बगल सफ़ेद स्पेस के लिए */
.page-footer-handcrafted-section {
    width: 100%;
    background-color: #ffffff; /* बाहरी सफ़ेद बैकग्राउंड */
    padding: 20px 0;           /* ऊपर-नीचे का गैप */
    display: flex;
    justify-content: center;   /* बॉक्स को सेंटर में लाने के लिए */
    margin-top: 200px;
}

/* 2. डार्क ग्रीन कंटेनर */
.page-footer-handcrafted-container {
    width: 90%;
    max-width: 800px;                  /* सीमित चौड़ाई जिससे अगल-बगल स्पेस दिखे */
    background-color: #063430;         /* डार्क ग्रीन बैकग्राउंड */
    border-radius: 0;                /* हल्के गोल कोने */
    text-align: center;
    overflow: hidden;
}

/* 3. बटन का स्टाइल */
.page-footer-handcrafted-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;                          /* शब्दों और झंडे के बीच की दूरी */
    width: 100%;
    padding: 16px 20px;
    text-decoration: none;             /* अंडरलाइन हटाने के लिए */
    box-sizing: border-box;
    cursor: pointer;
    
    /* Font Color और Styling */
    color: #ffffff;                    /* मुख्य Font Color (सफ़ेद) */
    font-family: "Playfair Display", "Didot", serif;
    font-size: 18px;
    font-weight: 400;
}

/* 4. अलग से Font Color सेट करने के लिए क्लासेस */
.page-footer-text-prefix,
.page-footer-text-suffix {
    color: #ffffff;                    /* यहाँ से आप टेक्स्ट का कलर बदल सकते हैं */
}

/* 5. भारतीय ध्वज (Flag Icon) */
.page-footer-flag-icon {
    width: 22px;
    height: auto;
    display: inline-block;
}

/* 6. Hover State - होवर करने पर बैकग्राउंड पीला और फॉन्ट डार्क होगा */
.page-footer-handcrafted-btn:hover {
    background-color: #FFC107;         /* होवर पर पीला बैकग्राउंड */
    color: #063430;                    /* होवर पर मुख्य Font Color */
}

.page-footer-handcrafted-btn:hover .page-footer-text-prefix,
.page-footer-handcrafted-btn:hover .page-footer-text-suffix {
    color: #063430;                    /* होवर करने पर टेक्स्ट का रंग डार्क ग्रीन हो जाएगा */
}

/* 7. मोबाइल रेस्पॉन्सिव */
@media (max-width: 600px) {
    .page-footer-handcrafted-container {
        width: 92%;
    }
    .page-footer-handcrafted-btn {
        font-size: 14px;
        gap: 6px;
        padding: 12px 10px;
    }
    .page-footer-flag-icon {
        width: 18px;
    }
}