/* Header Styles */
.ag-header {
    background: white;
    padding: 12px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.ag-header-container {
    /* max-width: 1400px; */
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ag-logo {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.ag-nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
    background-color: rgba(119, 136, 153, 0.053);
    padding: 10px;
    border-radius: 20px;
}

.ag-nav-menu li a {
    text-decoration: none;
    color: #666;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.ag-nav-menu li a:hover {
    color: #333;
    background: #f5f5f5;
}

.ag-nav-menu li a.ag-active {
    background: #4a4a4a;
    color: white;
}

.ag-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ag-phone-number {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    background-color: rgba(119, 136, 153, 0.093);
    border-radius: 20px;
    padding: 10px;
    font-size: 14px;
}

.ag-phone-icon {
    width: 16px;
    height: 16px;
}

.ag-test {
    display: flex;
    gap: 8px;
}

.ag-btn {
    border: none;
    border-radius: 50px;
    padding: 6px 6px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-width: 120px;
    padding-left: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.ag-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.ag-btn:active {
    transform: translateY(0);
}

.ag-btn-login {
    background-color: #d4c5f9;
    color: #8b5cf6;
}

.ag-btn-signup {
    background-color: #8b5cf6;
    color: #ffffff;
}

.ag-btn div {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.ag-btn-login div {
    background-color: #8b5cf6;
}

.ag-btn-signup div {
    background-color: #ffffff;
}

.ag-btn:hover div {
    transform: translateX(3px);
}

.ag-btn svg {
    width: 15px;
    height: 15px;
}

.ag-btn-login svg {
    fill: #ffffff;
}

.ag-btn-signup svg {
    fill: #8b5cf6;
}


/* Mobile Menu Toggle */
.ag-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.ag-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 968px) {
    .ag-nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        gap: 0;
    }

    .ag-nav-menu.ag-active {
        left: 0;
    }

    .ag-nav-menu li {
        width: 100%;
    }

    .ag-nav-menu li a {
        display: block;
        padding: 16px;
        border-radius: 0;
    }

    .ag-menu-toggle {
        display: flex;
    }

    .ag-menu-toggle.ag-active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .ag-menu-toggle.ag-active span:nth-child(2) {
        opacity: 0;
    }

    .ag-menu-toggle.ag-active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .ag-header-container {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .ag-phone-number {
        display: none;
    }

    .ag-header-actions {
        gap: 8px;
    }

    .ag-btn {
        padding: 2px 2px;
        font-size: 13px;
    }

    .ag-logo {
        font-size: 18px;
    }
}


.ag-hero-section {
    max-width: 100%;
    margin-bottom: 20px;
    margin-top: 20px;
    background: linear-gradient(135deg, #e8d5ff 0%, #f5e6ff 50%, #ffd6f0 100%);
    border-radius: 30px;
    padding: 60px;
    margin: 10px;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 20px;
}

/* Decorative Background Elements */
.ag-bg-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    z-index: 1;
}

.ag-bg-circle-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #ff6ec7 0%, #ff85d4 100%);
    top: -100px;
    right: 200px;
}

.ag-bg-circle-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
    bottom: -150px;
    right: -100px;
}

.ag-bg-dots {
    position: absolute;
    top: 50px;
    right: 150px;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.5) 2px, transparent 2px);
    background-size: 20px 20px;
    z-index: 1;
}

/* Content */
.ag-content {
    position: relative;
    z-index: 2;
}

.ag-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 20px;
    line-height: 1.2;
}

.ag-content p {
    font-size: 18px;
    color: #636e72;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 500px;
}

.ag-button-group {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.ag-btn-agent {
    border-radius: 50px;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 5px 5px 5px 24px;
    min-width: 180px;
}

.ag-btn-agent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.ag-btn-agent:active {
    transform: translateY(0);
}

.ag-btn-primary {
    background: #d4c5f9;
    color: #7c3aed;
}

.ag-btn-secondary {
    background: #7c3aed;
    color: white;
}

.ag-btn-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.ag-btn-primary .ag-btn-icon {
    background: #7c3aed;
}

.ag-btn-secondary .ag-btn-icon {
    background: white;
}

.ag-btn-agent:hover .ag-btn-icon {
    transform: translateX(3px);
}

.ag-btn-icon svg {
    width: 18px;
    height: 18px;
}

.ag-btn-primary .ag-btn-icon svg {
    stroke: white;
}

.ag-btn-secondary .ag-btn-icon svg {
    stroke: #7c3aed;
}

/* Search Card */
.ag-search-card {
    background: white;
    border-radius: 24px;
    padding: 28px 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.ag-search-label {
    font-size: 15px;
    color: #999;
    margin-bottom: 18px;
    display: block;
    font-weight: 400;
}

.ag-search-form {
    display: flex;
    gap: 62px;
    align-items: center;
}

.ag-search-input-wrapper {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.ag-search-input {
    padding: 16px 20px 16px 48px;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    font-size: 15px;
    outline: none;
    transition: all 0.2s;
    color: #666;
    background: white;
}

.ag-search-input::placeholder {
    color: #999;
}

.ag-search-input:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.ag-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    width: 20px;
    height: 20px;
}

.ag-select-wrapper {
    position: relative;
    min-width: 180px;
}

.ag-select-input {
    width: 100%;
    padding: 16px 45px 16px 22px;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    font-size: 15px;
    outline: none;
    appearance: none;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
    font-weight: 400;
}

.ag-select-input:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.ag-select-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
    width: 12px;
    height: 12px;
}

.ag-search-btn {
    padding: 5px 5px 5px 24px;
    background: #ede9fe;
    color: #7c3aed;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 140px;
}

.ag-search-btn:hover {
    background: #ddd6fe;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.2);
}

.ag-search-btn:active {
    transform: translateY(0);
}

.ag-search-btn-icon {
    width: 46px;
    height: 46px;
    background: #7c3aed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.ag-search-btn:hover .ag-search-btn-icon {
    transform: translateX(3px);
}

.ag-search-btn-icon svg {
    width: 20px;
    height: 20px;
}

/* Image Section */
.ag-image-section {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.ag-agent-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 3;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .ag-hero-section {
        padding: 50px;
    }

    .ag-content h1 {
        font-size: 42px;
    }

    .ag-agent-image {
        max-width: 400px;
    }
}

@media (max-width: 968px) {
    .ag-hero-section {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px;
        min-height: auto;
    }

    .ag-content h1 {
        font-size: 36px;
    }

    .ag-content p {
        font-size: 16px;
    }

    .ag-image-section {
        justify-content: center;
    }

    .ag-agent-image {
        max-width: 350px;
    }

    .ag-bg-circle-1,
    .ag-bg-circle-2 {
        opacity: 0.4;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .ag-hero-section {
        padding: 30px 25px;
        border-radius: 20px;
    }

    .ag-content h1 {
        font-size: 32px;
    }

    .ag-content p {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .ag-button-group {
        margin-bottom: 35px;
    }

    .ag-btn-agent {
        padding: 12px 24px;
        font-size: 14px;
    }

    .ag-search-card {
        padding: 22px 20px;
    }

    .ag-search-label {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .ag-search-form {
        flex-direction: column;
        gap: 12px;
    }

    .ag-search-input-wrapper,
    .ag-select-wrapper {
        width: 100%;
        min-width: auto;
    }

    .ag-search-input,
    .ag-select-input {
        padding: 14px 20px 14px 45px;
        font-size: 14px;
    }

    .ag-select-input {
        padding: 14px 40px 14px 20px;
    }

    .ag-search-btn {
        width: 100%;
        justify-content: space-between;
        padding: 4px 4px 4px 20px;
        font-size: 14px;
        min-width: auto;
    }

    .ag-search-btn-icon {
        width: 42px;
        height: 42px;
    }

    .ag-agent-image {
        max-width: 300px;
    }

    .ag-bg-circle-1 {
        width: 250px;
        height: 250px;
        top: -50px;
        right: 50px;
    }

    .ag-bg-circle-2 {
        width: 300px;
        height: 300px;
        bottom: -100px;
        right: -50px;
    }
}

@media (max-width: 480px) {
    .ag-hero-section {
        padding: 25px 20px;
    }

    .ag-content h1 {
        font-size: 28px;
    }

    .ag-content p {
        font-size: 14px;
    }

    .ag-button-group {
        flex-direction: column;
        gap: 10px;
    }

    .ag-btn-agent {
        width: 100%;
        justify-content: space-between;
        padding: 5px 5px 5px 20px;
        font-size: 13px;
        min-width: auto;
    }

    .ag-btn-icon {
        width: 34px;
        height: 34px;
    }

    .ag-btn-icon svg {
        width: 16px;
        height: 16px;
    }

    .ag-search-card {
        padding: 18px 16px;
    }

    .ag-search-label {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .ag-search-input,
    .ag-select-input {
        padding: 12px 18px 12px 42px;
        font-size: 13px;
    }

    .ag-select-input {
        padding: 12px 38px 12px 18px;
    }

    .ag-search-icon {
        left: 16px;
        width: 18px;
        height: 18px;
    }

    .ag-search-btn {
        padding: 4px 4px 4px 18px;
        font-size: 13px;
    }

    .ag-search-btn-icon {
        width: 38px;
        height: 38px;
    }

    .ag-search-btn-icon svg {
        width: 18px;
        height: 18px;
    }

    .ag-agent-image {
        max-width: 250px;
    }
}

@media (max-width: 360px) {
    .ag-content h1 {
        font-size: 24px;
    }

    .ag-content p {
        font-size: 13px;
    }

    .ag-search-card {
        padding: 16px 14px;
    }

    .ag-search-label {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .ag-search-input,
    .ag-select-input {
        padding: 11px 16px 11px 38px;
        font-size: 12px;
    }

    .ag-select-input {
        padding: 11px 36px 11px 16px;
    }

    .ag-search-icon {
        left: 14px;
        width: 16px;
        height: 16px;
    }

    .ag-select-arrow {
        right: 16px;
        width: 10px;
        height: 10px;
    }

    .ag-search-btn {
        padding: 3px 3px 3px 16px;
        font-size: 12px;
    }

    .ag-search-btn-icon {
        width: 36px;
        height: 36px;
    }

    .ag-search-btn-icon svg {
        width: 16px;
        height: 16px;
    }
}




/* CONTAINER */
.ag-container {
    margin-top: 20px;
    max-width: 100%;
    background-image: url("../assets/images/Frame 476.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: auto;
    padding: 40px 30px;
}

/* HEADER */
.ag-top-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: white;
}

.ag-top-section h1 {
    font-size: 42px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ag-arrow-img {
    width: 40px;
    filter: brightness(0) invert(1);
}

.ag-subtitle {
    max-width: 420px;
    opacity: 0.9;
    font-size: 15px;
}

/* LAYOUT */
.ag-layout {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    color: white;
}

/* FILTER */
.ag-filter-box {
    width: 250px;
    backdrop-filter: blur(12px);
    padding: 25px;
    border-radius: 20px;
}

.ag-filter-box h3 {
    margin-bottom: 20px;
}

.ag-filter-group {
    margin-bottom: 25px;
}

.ag-filter-group span {
    font-size: 14px;
}

.ag-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.ag-chip {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    color: white;
    cursor: pointer;
}

.ag-chip.ag-active {
    background: #7f5cff;
}

.ag-filter-group select {
    width: 100%;
    padding: 10px;
    border-radius: 20px;
    border: none;
}

.ag-reset-pill {
    width: 100%;
    max-width: 320px;
    height: 56px;
    background: linear-gradient(135deg, #7f5cff, #8f6bff);
    border: none;
    border-radius: 999px;
    padding: 0 12px 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #fff;
    font-size: 18px;
    font-weight: 500;

    cursor: pointer;
    transition: all 0.3s ease;
}

/* White circular arrow */
.ag-arrow-circle {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f5cff;
    font-size: 22px;
    font-weight: 600;
    transition: transform 0.3s ease;
}



/* Mobile responsive */
@media (max-width: 480px) {
    .ag-reset-pill {
        height: 50px;
        font-size: 16px;
    }

    .ag-arrow-circle {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
}


/* AGENTS */
.ag-agents {
    flex: 1;
}

.ag-agents h2 {
    font-size: 32px;
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 30px;
}

/* GRID */
.ag-agent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* CARD */
.ag-agent-card {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 20px;
    text-align: center;
}

.ag-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;

}

.ag-agent-card h4 {
    font-size: 14px;

}

.ag-agent-card span {
    font-size: 13px;
    opacity: 0.85;
}

.ag-agent-card p {
    font-size: 14px;
    margin: 10px 0;
    line-height: 1.6;
}

.ag-stats {
    display: flex;
    justify-content: space-evenly;
    font-size: 17px;
    margin-bottom: 8px;
}

/* ACTIONS */
.ag-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.ag-btn {
    flex: 1;
    padding: 10px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ag-button-circle {
    background-color: #7c3aed;
}

.ag-icon-circle {
    background-color: #7c3aed;
    border-radius: 50%;
}

.ag-view {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 11px;
    font-weight: 700px;
}

.ag-call-circle {
    background-color: #5FB4FF;
}

.ag-call {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

/* PAGINATION */
.ag-pagination {
    display: flex;
    justify-content: end;
    gap: 10px;
    margin-top: 40px;
}

.ag-pagination button {
    padding: 10px 14px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.ag-pagination .ag-active {
    background: #7f5cff;
    color: white;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .ag-layout {
        flex-direction: column;
    }

    .ag-filter-box {
        width: 90%;
    }
}

@media (max-width: 576px) {
    .ag-top-section h1 {
        font-size: 32px;
    }

    .ag-stats {
        flex-direction: column;
        gap: 6px;
    }

    .ag-actions {
        flex-direction: column;
    }
}

.ag-jn-wrapper {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    background-image: url("Frame 224.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.ag-jn-card {
    max-width: 100%;
    width: 100%;
    background: linear-gradient(135deg,
            #e7dbff 0%,
            #e7dbff 40%,
            #c89bff26 70%,
            #a96bff5b 100%);
    border-radius: 28px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 40px;
    overflow: hidden;
    position: relative;
}

.ag-jn-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1px,
            transparent 1px);
    background-size: 18px 18px;
    opacity: 0.4;
    pointer-events: none;
}

/* ===============================
       LEFT CONTENT
    ================================ */

.ag-jn-content {
    max-width: 520px;
    z-index: 2;
}

.ag-jn-content h1 {
    font-size: 40px;
    font-weight: 700;
    color: #222;
    line-height: 1.25;
}

.ag-jn-highlight {
    color: #4b2aad;
}

.ag-jn-content p {
    margin: 20px 0 30px;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* ===============================
       BUTTON
    ================================ */

.ag-jn-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #7c4cff22;
    color: #fff;
    padding: 5px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.ag-jn-icon-circle {
    background-color: #7b4cff;
    border-radius: 50%;
    padding: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===============================
       RIGHT IMAGE
    ================================ */

.ag-jn-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    z-index: 2;
}

.ag-jn-image-wrapper img {
    max-width: 520px;
    width: 100%;
    object-fit: cover;
}

/* ===============================
       RESPONSIVE
    ================================ */

@media (max-width: 992px) {
    .ag-jn-card {
        flex-direction: column;
        padding: 40px;
        text-align: center;
    }

    .ag-jn-content {
        max-width: 100%;
    }

    .ag-jn-image-wrapper {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .ag-jn-content h1 {
        font-size: 28px;
    }

    .ag-jn-content p {
        font-size: 14px;
    }

    .ag-jn-btn {
        justify-content: center;
    }
}



.ag-footer-wrapper {
    width: 100%;
    background: linear-gradient(135deg, #7c6ba8 0%, #6b5b95 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;


}

.ag-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px 30px;
}

.ag-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 200px;
    margin-bottom: 40px;
}

.ag-footer-column h3 {
    color: white;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
}

.ag-footer-column ul {
    list-style: none;
}

.ag-footer-column ul li {
    margin-bottom: 15px;
}

.ag-footer-column ul li a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: opacity 0.3s ease;
}

.ag-footer-column ul li a:hover {
    opacity: 0.8;
}

.ag-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 15px;
    margin-bottom: 15px;
}

.ag-contact-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.ag-newsletter-section {
    max-width: 100%;
}

.ag-newsletter-input-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.ag-newsletter-input-wrapper input {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    outline: none;
}

.ag-newsletter-input-wrapper input::placeholder {
    color: #999;
}

.ag-newsletter-button {
    background: linear-gradient(135deg, #8b7ab8 0%, #7d6aad 100%);
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.ag-newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.ag-newsletter-button svg {
    width: 18px;
    height: 18px;
}

.ag-newsletter-text {
    color: white;
    font-size: 14px;
    margin-top: 15px;
}

.ag-footer-bottom {
    background: #1a1a1a;
    padding: 25px 40px;
}

.ag-footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ag-brand-name {
    color: white;
    font-size: 20px;
    font-weight: 700;
}

.ag-copyright-text {
    color: #999;
    font-size: 14px;
}

.ag-social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.ag-social-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.ag-social-links a:hover {
    opacity: 0.7;
}

.ag-social-links svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 968px) {
    .ag-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .ag-newsletter-section {
        grid-column: 1 / -1;
    }

    .ag-footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .ag-footer-content {
        padding: 40px 20px 20px;
    }

    .ag-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ag-footer-bottom {
        padding: 20px;
    }

    .ag-footer-bottom-content {
        gap: 15px;
    }

    .ag-brand-name {
        font-size: 18px;
    }

    .ag-copyright-text {
        font-size: 13px;
    }
}