/*--------------------------------------------------------------
# AMD Brand Tokens
--------------------------------------------------------------*/
:root {
    /* ★ AMD Brand Colors ★ */
    --amd-primary: var(var(--amd-primary)); /* Tapāīṁko primary color */
    --amd-secondary: var(var(--amd-secondary)); /* Tapāīṁko secondary color */

    /* ★ Primary/Secondary bāṭa derive gareko ★ */
    --amd-primary-dark: color-mix(in srgb, var(--amd-primary) 70%, #000);
    --amd-primary-light: color-mix(in srgb, var(--amd-primary) 30%, #fff);
    --amd-primary-glow: color-mix(in srgb, var(--amd-primary) 40%, transparent);
    --amd-secondary-dark: color-mix(in srgb, var(--amd-secondary) 70%, #000);
    --amd-secondary-light: color-mix(in srgb, var(--amd-secondary) 30%, #fff);
    --amd-secondary-glow: color-mix(
        in srgb,
        var(--amd-secondary) 40%,
        transparent
    );

    /* ★ Footer tokens - Primary/Secondary sanga mapped ★ */
    --footer-bg: #0d1117;
    --footer-bg-card: rgba(255, 255, 255, 0.03);
    --footer-text: #9ca3af;
    --footer-heading: #ffffff;
    --footer-link: #d1d5db;
    --footer-link-hover: var(--amd-primary-light);
    --footer-accent: var(--amd-primary);
    --footer-accent-secondary: var(--amd-secondary);
    --footer-border: rgba(255, 255, 255, 0.08);
    --footer-icon-bg: color-mix(in srgb, var(--amd-primary) 12%, transparent);
    --footer-icon-hover: color-mix(
        in srgb,
        var(--amd-primary) 25%,
        transparent
    );
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/*--------------------------------------------------------------
# AMD Banner Slider CSS
--------------------------------------------------------------*/

/* Wrapper and Section */
.amd-banner-slider-section {
    position: relative;
    overflow: hidden;
}

.amd-banner-tv-slider-area {
    position: relative;
    width: 100%;
}

/* Background Image and Zoom Effect */
.amd-banner-tv-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -2;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transform: scale(1.15);
    transition:
        transform 9000ms ease,
        opacity 1500ms ease-in;
}

.amd-banner-tv-slider-wrap .swiper-slide-active .amd-banner-tv-slider-bg {
    transform: scale(1);
}

/* Overlay with Gradient */
.amd-banner-tv-slider-overlay {
    position: relative;
    z-index: 1;
}

.amd-banner-tv-slider-overlay::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(90deg, #0a165e 0%, rgba(10, 22, 94, 0) 100%);
}

/* Content Styling */
.amd-banner-tv-slider-content {
    padding: 232px 0;
}

.amd-banner-tv-slider-subtitle {
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 30px;
    color: #fff;
    position: relative;
    padding-left: 57px;
    text-transform: uppercase;
    font-family: "Inter", sans-serif;
    display: inline-block;
}

.amd-banner-tv-slider-subtitle::before {
    content: "";
    display: inline-block;
    width: 45px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.amd-banner-tv-slider-title {
    font-weight: 700;
    font-size: 80px;
    line-height: 1.14;
    margin-bottom: 20px;
    text-transform: capitalize;
    color: #fff;
    font-family: "Inter", sans-serif;
}

.amd-banner-tv-slider-text p {
    font-weight: 600;
    font-size: 17px;
    line-height: 1.76;
    color: #fff;
    margin-bottom: 40px;
}

/* Right Side Numeric Pagination (1 2 3) */
.amd-banner-tv-slider-arrow-box {
    position: absolute;
    top: 50%;
    right: 15%;
    z-index: 10;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.amd-banner-tv-slider-arrow-box .swiper-pagination-bullet {
    height: 42px;
    width: 42px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    font-family: "Inter", sans-serif;
    opacity: 1;
    border-radius: 50%;
    margin: 0 0 45px 0 !important; /* Space between numbers */
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;

    /* Center the number perfectly */
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.amd-banner-tv-slider-arrow-box .swiper-pagination-bullet-active {
    background: #2b4dff;
    border-color: #2b4dff;
}

/* The vertical line between numbers */
.amd-banner-tv-slider-arrow-box
    .swiper-pagination-bullet:not(:last-child)::after {
    position: absolute;
    content: "";
    height: 45px;
    left: 50%;
    top: 100%;
    width: 1px;
    background: linear-gradient(to bottom, #2b4dff, rgba(255, 255, 255, 0));
    transform: translateX(-50%);
}

/* Animations */
.amd-banner-tv-slider-active
    .swiper-slide-active
    .amd-banner-tv-slider-subtitle,
.amd-banner-tv-slider-active .swiper-slide-active .amd-banner-tv-slider-title,
.amd-banner-tv-slider-active .swiper-slide-active .amd-banner-tv-slider-text,
.amd-banner-tv-slider-active .swiper-slide-active .amd-banner-tv-slider-btn {
    animation-fill-mode: both;
    animation-name: amd-banner-fadeInUp;
}

.amd-banner-tv-slider-animation
    .swiper-slide-active
    .amd-banner-tv-slider-subtitle {
    animation-delay: 0.3s;
    animation-duration: 0.5s;
}
.amd-banner-tv-slider-animation
    .swiper-slide-active
    .amd-banner-tv-slider-title {
    animation-delay: 0.7s;
    animation-duration: 0.5s;
}
.amd-banner-tv-slider-animation
    .swiper-slide-active
    .amd-banner-tv-slider-text {
    animation-delay: 0.9s;
    animation-duration: 0.7s;
}
.amd-banner-tv-slider-animation .swiper-slide-active .amd-banner-tv-slider-btn {
    animation-delay: 1.1s;
    animation-duration: 0.9s;
}

@keyframes amd-banner-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media only screen and (max-width: 1599px) {
    .amd-banner-tv-slider-content {
        padding: 180px 0;
    }
    .amd-banner-tv-slider-title {
        font-size: 70px;
    }
}

@media only screen and (max-width: 1399px) {
    .amd-banner-tv-slider-title {
        font-size: 60px;
    }
    .amd-banner-tv-slider-arrow-box {
        right: 10%;
    }
}

@media only screen and (max-width: 1199px) {
    .amd-banner-tv-slider-title {
        font-size: 50px;
    }
    .amd-banner-tv-slider-content {
        padding: 150px 0;
    }
    .amd-banner-tv-slider-arrow-box {
        right: 5%;
    }
}

@media only screen and (max-width: 991px) {
    .amd-banner-tv-slider-arrow-box {
        display: none;
    } /* Numbers lukcha mobile ma */
    .amd-banner-tv-slider-content {
        padding: 120px 0;
        text-align: center;
    }
    .amd-banner-tv-slider-subtitle {
        padding-left: 0;
    }
    .amd-banner-tv-slider-subtitle::before {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .amd-banner-tv-slider-title {
        font-size: 40px;
    }
}

@media only screen and (max-width: 575px) {
    .amd-banner-tv-slider-title {
        font-size: 32px;
    }
    .amd-banner-tv-slider-text p {
        font-size: 14px;
    }
}

/*--------------------------------------------------------------
        # AMD Home Layout & Logo Video Masking CSS
        --------------------------------------------------------------*/
.amd-banner-home-layout {
    position: relative;
    padding: 16px 0;
    background-color: #ffffff;
    /* Theme Dark Blue */
    overflow: hidden;
    font-family: "Inter", sans-serif;
}

.amd-banner-auto-container {
    position: relative;
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
}

.amd-banner-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 -15px;
}

/* Left Side - Content */
.amd-banner-home-main {
    padding: 0 15px;
}

.amd-banner-sec-title h3 {
    font-size: 48px;
    font-weight: 800;
    color: var(--amd-primary);
    line-height: 1.2;
    margin-bottom: 25px;
}

.amd-banner-home-text {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 35px;
    text-align: justify;
}

.amd-banner-home-text p span {
    color: #000000 !important;
}

.amd-banner-btn-style-one {
    display: inline-block;
    padding: 15px 35px;
    background-color: #2b4dff;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.amd-banner-btn-style-one:hover {
    background-color: #fff;
    color: #2b4dff;
}

/* Right Side - Logo Video Masking Logic */
.amd-banner-image-column {
    padding: 0 15px;
    display: flex;
    justify-content: center;
}

.amd-banner-masked-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Video le logo frame purai bharchha */
}

/* Responsive */
@media (max-width: 991px) {
    .amd-banner-home-main {
        text-align: center;
        margin-bottom: 50px;
    }

    .amd-banner-sec-title h3 {
        font-size: 35px;
    }

    .amd-banner-masking-section {
        height: 300px;
    }
}

@media (max-width: 575px) {
    .amd-banner-image-column {
        display: none;
    }
}

/* ─── AMD Achievements Section ─── */
.amd-achievements-section {
    position: relative;
    padding: 25px 0;
    overflow: hidden;
}

.amd-achievements-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
}

.amd-achievements-section > * {
    position: relative;
    z-index: 1;
}

/* ─── Content Wrapper ─── */
.amd-content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* ─── Text Column ─── */
.amd-achievements-text {
    flex: 0 0 58%;
    max-width: 58%;
    position: relative;
    z-index: 2;
}

.amd-achievements-text h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.amd-achievements-text .amd-pro-single-detail-hero__content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--amd-text-muted, #555);
    text-align: justify;
    margin-bottom: 0;
}

/* ─── Statistics Bar ─── */
.amd-statistics-bar {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    background-color: var(--amd-secondary, #1a1a2e);
    color: #fff;
    padding: 30px 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    width: 170%;
    position: relative;
    z-index: 3;
}

.amd-statistic-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.amd-statistic-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
    line-height: 1;
}

.amd-statistic-item h3::after {
    content: attr(data-suffix);
}

.amd-statistic-item p {
    font-size: 0.85rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ─── Image Column ─── */
.amd-image-container {
    flex: 0 0 38%;
    max-width: 38%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.amd-background-image {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.amd-background-image:hover {
    transform: translateY(-5px);
}

/* ─── No Image Layout ─── */
.amd-content-wrapper.no-image {
    justify-content: center;
}

.amd-content-wrapper.no-image .amd-achievements-text {
    flex: 0 0 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.amd-content-wrapper.no-image .amd-statistics-bar {
    width: 100%;
}

.amd-content-wrapper.no-image .amd-image-container {
    display: none;
}

/* ══════════════════════════════════════════
           RESPONSIVE - Desktop Large (1200px down)
           ══════════════════════════════════════════ */
@media (max-width: 1200px) {
    .amd-statistics-bar {
        width: 150%;
    }

    .amd-statistic-item h3 {
        font-size: 2.2rem;
    }

    .amd-background-image {
        max-height: 350px;
    }
}

/* ══════════════════════════════════════════
           RESPONSIVE - Tablet (991px down)
           ══════════════════════════════════════════ */
@media (max-width: 991px) {
    .amd-achievements-section {
        padding: 60px 0;
    }

    .amd-achievements-section::before {
        width: 100%;
        opacity: 0.08;
    }

    .amd-content-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .amd-achievements-text {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .amd-achievements-text h2 {
        float: none !important;
        text-align: center;
    }

    .amd-achievements-text .amd-pro-single-detail-hero__content {
        float: none !important;
        text-align: center;
    }

    .amd-achievements-text .amd-pro-single-detail-hero__content p {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }

    /* Statistics bar - full width, no overlap */
    .amd-statistics-bar {
        width: 100%;
        padding: 25px 15px;
        gap: 15px;
        margin-top: 30px;
    }

    .amd-statistic-item {
        min-width: 100px;
        flex: 1 1 auto;
    }

    .amd-statistic-item h3 {
        font-size: 2rem;
    }

    .amd-statistic-item p {
        font-size: 0.8rem;
    }

    /* Hide image on tablet */
    .amd-image-container {
        display: none !important;
    }
}

/* ══════════════════════════════════════════
           RESPONSIVE - Mobile Large (767px down)
           ══════════════════════════════════════════ */
@media (max-width: 767px) {
    .amd-achievements-section {
        padding: 50px 0;
    }

    .amd-achievements-text h2 {
        font-size: 1.4rem;
    }

    .amd-achievements-text .amd-pro-single-detail-hero__content p {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* 2x2 Grid for stats */
    .amd-statistics-bar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 25px 20px;
        margin-top: 25px;
    }

    .amd-statistic-item {
        min-width: unset;
        padding: 10px 0;
    }

    .amd-statistic-item h3 {
        font-size: 1.8rem;
    }

    .amd-statistic-item p {
        font-size: 0.75rem;
        letter-spacing: 0.3px;
    }
}

/* ══════════════════════════════════════════
           RESPONSIVE - Mobile Small (480px down)
           ══════════════════════════════════════════ */
@media (max-width: 480px) {
    .amd-achievements-section {
        padding: 40px 0;
    }

    .amd-achievements-text h2 {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }

    .amd-achievements-text .amd-pro-single-detail-hero__content p {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    /* 2x2 Grid tighter */
    .amd-statistics-bar {
        gap: 12px;
        padding: 20px 15px;
        border-radius: 10px;
    }

    .amd-statistic-item h3 {
        font-size: 1.5rem;
    }

    .amd-statistic-item p {
        font-size: 0.7rem;
    }
}

/* ══════════════════════════════════════════
           RESPONSIVE - Mobile Extra Small (360px down)
           ══════════════════════════════════════════ */
@media (max-width: 360px) {
    .amd-achievements-section {
        padding: 30px 0;
    }

    .amd-achievements-text h2 {
        font-size: 1.1rem;
    }

    .amd-achievements-text .amd-pro-single-detail-hero__content p {
        font-size: 0.9rem;
    }

    /* Stack stats vertically on very small screens */
    .amd-statistics-bar {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px 15px;
    }

    .amd-statistic-item {
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .amd-statistic-item:last-child {
        border-bottom: none;
    }

    .amd-statistic-item h3 {
        font-size: 1.8rem;
    }

    .amd-statistic-item p {
        font-size: 0.75rem;
    }
}

/*--------------------------------------------------------------
    # AMD Blog Section CSS
    --------------------------------------------------------------*/
.amd-blog-section-padding {
    padding: 20px 0;
    background-color: #f8f9fa;
}

.amd-blog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.amd-blog-section-title {
    font-size: 36px;
    font-weight: 800;
    color: #0a165e;
    margin-bottom: 0 !important;
    max-width: 600px;
}

.amd-blog-view-all-btn {
    padding: 12px 25px;
    background-color: #2b4dff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
}

.amd-blog-view-all-btn:hover {
    background-color: #0a165e;
    color: #fff;
}

/* Card Item Styling */
.amd-blog-card-item {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.amd-blog-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.amd-blog-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.amd-blog-category {
    color: #2b4dff;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
}

.amd-blog-title {
    font-size: 20px;
    font-weight: 700;
    color: #0a165e;
    margin-bottom: 15px;
    line-height: 1.4;
}

.amd-blog-excerpt {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.amd-blog-read-more {
    color: #2b4dff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    margin-top: auto;
}

/* Desktop ma swiper disabled jasto dekhinchha (grid flow) */
@media (min-width: 992px) {
    .amd-blog-swiper-container {
        overflow: visible !important;
    }
    .amd-blog-swiper-wrapper {
        display: flex !important;
        flex-wrap: wrap !important;
        transform: none !important;
        gap: 0;
    }
    .amd-blog-swiper-slide {
        width: 33.333% !important;
        padding: 12px;
    }
}

/* Mobile Carousel Fixes */
@media (max-width: 991px) {
    .amd-blog-section-title {
        font-size: 28px;
    }
    .amd-blog-swiper-container {
        padding-bottom: 50px !important;
        overflow: hidden !important;
    }
    /* Mobile ma pagination bullets thapne space */
    .swiper-pagination-bullet-active {
        background: #2b4dff !important;
    }
}

/* ============================================
       SERVICES SECTION - PREMIUM DESIGN
       ============================================ */

.amd-services-section {
    position: relative;
    padding: 18px 0;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 50%, #f0f4ff 100%);
    overflow: hidden;
}

/* --- Section Header --- */
.amd-section-header {
    margin-bottom: 60px;
}

.amd-badge {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(
        135deg,
        rgba(37, 99, 235, 0.1),
        rgba(99, 102, 241, 0.1)
    );
    color: #2563eb;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.amd-section-title {
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    line-height: 1.3;
}

.amd-section-subtitle {
    font-size: 17px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.7;
}

.amd-title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.amd-title-divider span {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--amd-primary));
}

.amd-title-divider span:last-child {
    background: linear-gradient(90deg, var(--amd-primary), transparent);
}

.amd-title-divider i {
    color: var(--amd-primary);
    font-size: 12px;
}

/* --- LEFT: Service Navigation --- */
.amd-service-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.amd-service-nav-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: #ffffff;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.amd-service-nav-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(37, 99, 235, 0.03),
        rgba(99, 102, 241, 0.03)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.amd-service-nav-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.2);
}

.amd-service-nav-item:hover::before {
    opacity: 1;
}

.amd-service-nav-item.active {
    border-color: var(--amd-primary);
    background: linear-gradient(
        135deg,
        var(--amd-primary),
        var(--amd-secondary)
    );
    transform: translateX(12px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.3);
}

/* Indicator */
.amd-nav-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 20px;
}

.amd-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.3s ease;
}

.amd-nav-line {
    width: 2px;
    height: 0;
    background: #2563eb;
    transition: all 0.3s ease;
}

.amd-service-nav-item.active .amd-nav-dot {
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.amd-service-nav-item.active .amd-nav-line {
    height: 20px;
    background: rgba(255, 255, 255, 0.5);
}

/* Nav Content */
.amd-nav-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.amd-nav-number {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 2px;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.amd-service-nav-item.active .amd-nav-number {
    color: rgba(255, 255, 255, 0.7);
}

.amd-nav-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
    transition: color 0.3s ease;
}

.amd-service-nav-item.active .amd-nav-title {
    color: #ffffff;
}

.amd-nav-excerpt {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.amd-service-nav-item.active .amd-nav-excerpt {
    color: rgba(255, 255, 255, 0.75);
}

/* Nav Arrow */
.amd-nav-arrow {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.amd-service-nav-item.active .amd-nav-arrow {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.amd-service-nav-item:hover .amd-nav-arrow {
    transform: translateX(4px);
}

/* --- RIGHT: Service Detail --- */
.amd-service-detail-wrapper {
    position: sticky;
    top: 100px;
    background: #ffffff;
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Progress Bar */
.amd-service-progress {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 28px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.amd-progress-track {
    flex: 1;
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.amd-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #6366f1);
    border-radius: 4px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 20%;
}

.amd-progress-text {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.amd-progress-text #currentService {
    color: #2563eb;
    font-size: 16px;
}

/* Detail Content */
.amd-service-detail {
    display: none;
    padding: 32px 28px;
    animation: fadeSlideUp 0.5s ease forwards;
    height: 500px;
    overflow-x: auto;
}

.amd-service-detail p {
    text-align: justify !important;
}

.amd-service-detail.active {
    display: block;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Visual Area */
.amd-detail-visual {
    margin-bottom: 28px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.amd-detail-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
}

.amd-detail-icon-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #eff6ff, #eef2ff, #f0f9ff);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.amd-detail-icon-placeholder i {
    font-size: 48px;
    color: #2563eb;
    position: relative;
    z-index: 2;
}

/* Floating Shapes */
.amd-floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: #2563eb;
    top: -20px;
    right: -20px;
    animation: float1 6s ease-in-out infinite;
}

.shape-2 {
    width: 60px;
    height: 60px;
    background: #6366f1;
    bottom: -10px;
    left: 20%;
    animation: float2 8s ease-in-out infinite;
}

.shape-3 {
    width: 40px;
    height: 40px;
    background: #06b6d4;
    top: 30%;
    left: -10px;
    animation: float3 7s ease-in-out infinite;
}

@keyframes float1 {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }
}

@keyframes float2 {
    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(15px, -15px);
    }
}

@keyframes float3 {
    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10px, 10px);
    }
}

/* Detail Title */
.amd-detail-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 16px;
}

.amd-detail-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--amd-primary), #6366f1);
    border-radius: 3px;
}

.amd-detail-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Features Grid */
.amd-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.amd-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
    animation: featureFadeIn 0.5s ease forwards;
    opacity: 0;
}

.amd-feature-item:hover {
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

@keyframes featureFadeIn {
    to {
        opacity: 1;
    }
}

.amd-feature-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--amd-primary);
}

.amd-feature-check svg {
    width: 100%;
    height: 100%;
}

.amd-feature-item span {
    font-size: 14px;
    color: #334155;
    font-weight: 500;
    line-height: 1.5;
}

/* Action Buttons */
.amd-detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.amd-btn-primary-service {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.amd-btn-primary-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    color: #ffffff;
}

.amd-btn-primary-service i {
    transition: transform 0.3s ease;
}

.amd-btn-primary-service:hover i {
    transform: translateX(4px);
}

.amd-btn-outline-service {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    color: var(--amd-primary);
    font-weight: 600;
    font-size: 15px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.amd-btn-outline-service:hover {
    border-color: var(--amd-primary);
    background: rgba(37, 99, 235, 0.05);
    color: var(--amd-primary);
    transform: translateY(-2px);
}

/* Navigation Arrows */
.amd-detail-nav-arrows {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px 28px;
    border-top: 1px solid #f1f5f9;
    background: #fafbfc;
}

.amd-arrow-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.amd-arrow-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
    transform: scale(1.05);
}

/* --- Bottom CTA --- */
.amd-services-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 60px;
    padding: 32px 40px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.amd-services-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(37, 99, 235, 0.2),
        transparent 70%
    );
    border-radius: 50%;
}

.amd-cta-content h4 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.amd-cta-content p {
    font-size: 15px;
    color: #94a3b8;
    margin: 0;
}

.amd-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #2563eb, #6366f1);
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.amd-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
    color: #ffffff;
}

.amd-cta-btn i {
    transition: transform 0.3s ease;
}

.amd-cta-btn:hover i {
    transform: translateX(5px);
}

/* --- Background Decorations --- */
.amd-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.amd-bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
}

.amd-bg-circle-1 {
    width: 500px;
    height: 500px;
    background: #2563eb;
    top: -200px;
    right: -100px;
}

.amd-bg-circle-2 {
    width: 400px;
    height: 400px;
    background: #6366f1;
    bottom: -150px;
    left: -100px;
}

.amd-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.amd-services-section .container {
    position: relative;
    z-index: 1;
}

/* ============================================
       RESPONSIVE DESIGN
       ============================================ */

@media (max-width: 991px) {
    .amd-services-section {
        padding: 70px 0;
    }

    .amd-section-title {
        font-size: 32px;
    }

    .amd-service-detail-wrapper {
        position: static;
        margin-top: 24px;
    }

    .amd-service-nav-item.active {
        transform: translateX(6px);
    }

    .amd-service-nav-item:hover {
        transform: translateX(4px);
    }
}

@media (max-width: 767px) {
    .amd-services-section {
        padding: 50px 0;
    }

    .amd-section-header {
        margin-bottom: 40px;
    }

    .amd-section-title {
        font-size: 26px;
    }

    .amd-section-subtitle {
        font-size: 15px;
    }

    .amd-service-nav-item {
        padding: 16px 18px;
    }

    .amd-nav-indicator {
        display: none;
    }

    .amd-nav-title {
        font-size: 16px;
    }

    .amd-nav-excerpt {
        display: none;
    }

    .amd-features-grid {
        grid-template-columns: 1fr;
    }

    .amd-detail-actions {
        flex-direction: column;
    }

    .amd-btn-primary-service,
    .amd-btn-outline-service {
        justify-content: center;
        width: 100%;
    }

    .amd-services-cta {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 28px 24px;
    }

    .amd-detail-title {
        font-size: 22px;
    }
}

/* ============================================
   Hero Banner
   ============================================ */
    .amd-service-product-hero {
        position: relative;
        padding: 35px 0 27px;
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
        overflow: hidden;
    }

    .amd-service-product-hero-overlay {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        background:
            radial-gradient(circle at 20% 50%, rgba(37,99,235,0.15), transparent 50%),
            radial-gradient(circle at 80% 50%, rgba(99,102,241,0.1), transparent 50%);
    }

    .amd-service-product-hero-content { position: relative; z-index: 2; }

    .amd-service-product-breadcrumb {
        display: flex; align-items: center; gap: 10px;
        margin-bottom: 24px; flex-wrap: wrap;
    }

    .amd-service-product-breadcrumb a {
        color: #94a3b8; text-decoration: none; font-size: 14px; transition: color 0.3s ease;
    }
    .amd-service-product-breadcrumb a:hover { color: #60a5fa; }
    .amd-service-product-breadcrumb i.fa-chevron-right { color: #475569; font-size: 10px; }
    .amd-service-product-breadcrumb span { color: #60a5fa; font-size: 14px; font-weight: 600; }

    .amd-service-product-hero-title {
        font-size: 48px; font-weight: 800; color: #ffffff;
        margin-bottom: 16px; line-height: 1.2;
    }

    .amd-service-product-hero-subtitle {
        font-size: 18px; color: #94a3b8; max-width: 600px; line-height: 1.7;
    }

    /* Hero Shapes */
    .amd-service-product-hero-shapes {
        position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        pointer-events: none; z-index: 1;
    }

    .amd-service-product-shape { position: absolute; border-radius: 50%; opacity: 0.06; }

    .amd-service-product-shape-1 {
        width: 400px; height: 400px; background: #2563eb;
        top: -150px; right: -100px;
        animation: amdServiceFloat1 8s ease-in-out infinite;
    }
    .amd-service-product-shape-2 {
        width: 250px; height: 250px; background: #6366f1;
        bottom: -80px; left: 10%;
        animation: amdServiceFloat2 10s ease-in-out infinite;
    }
    .amd-service-product-shape-3 {
        width: 150px; height: 150px; background: #06b6d4;
        top: 30%; right: 20%;
        animation: amdServiceFloat3 7s ease-in-out infinite;
    }

    @keyframes amdServiceFloat1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-30px,30px) scale(1.1); } }
    @keyframes amdServiceFloat2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(20px,-20px); } }
    @keyframes amdServiceFloat3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-15px,15px); } }
/* ============================================
   AMD-SOFT FOOTER - WITH AMD PRIMARY/SECONDARY
   ============================================ */
/* ====== BASE FOOTER ====== */
.amd-soft-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    font-family:
        "Segoe UI",
        system-ui,
        -apple-system,
        sans-serif;
    position: relative;
    overflow: hidden;
}

/* ★ Top gradient line - PRIMARY to SECONDARY ★ */
.amd-soft-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--amd-primary),
        var(--amd-secondary),
        var(--amd-primary)
    );
    background-size: 200% 100%;
    animation: amdGradientMove 4s ease infinite;
}

@keyframes amdGradientMove {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* ★ Background glow effects - PRIMARY & SECONDARY ★ */
.amd-soft-footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(
            ellipse at 10% 90%,
            var(--amd-primary-glow) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse at 90% 10%,
            var(--amd-secondary-glow) 0%,
            transparent 50%
        );
    opacity: 0.08;
    pointer-events: none;
}

.amd-soft-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

/* ====== MAIN GRID ====== */
.amd-soft-footer-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 60px 0 40px;
}

/* ====== Logo Column ====== */
.footer-logo-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    max-width: 130px;
    height: auto;
    margin-bottom: 14px;
    transition: var(--transition);
}

.footer-logo:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    color: var(--footer-text);
    margin: 0;
}

/* ====== Headings - PRIMARY color ====== */
.footer-heading {
    color: var(--footer-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ★ Heading underline - PRIMARY to SECONDARY gradient ★ */
.footer-heading-line {
    width: 40px;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--amd-primary),
        var(--amd-secondary)
    );
    border-radius: 2px;
    margin-bottom: 18px;
    transition: var(--transition);
}

.footer-col:hover .footer-heading-line {
    width: 60px;
}

/* ====== Quick Links ====== */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--footer-link);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    padding: 3px 0;
    position: relative;
}

/* ★ Link icon - SECONDARY color ★ */
.footer-link-icon {
    font-size: 9px;
    color: var(--amd-secondary);
    transition: var(--transition);
    opacity: 0;
    transform: translateX(-8px);
}

/* ★ Hover - PRIMARY color ★ */
.footer-links a:hover {
    color: var(--amd-primary-light);
    transform: translateX(5px);
}

.footer-links a:hover .footer-link-icon {
    opacity: 1;
    transform: translateX(0);
}

/* ★ Underline effect on hover - SECONDARY ★ */
.footer-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--amd-secondary);
    transition: var(--transition);
}

.footer-links a:hover::after {
    width: 100%;
}

/* ====== Contact List ====== */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.5;
}

/* ★ Contact icon circles - PRIMARY tinted ★ */
.contact-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    background: var(--footer-icon-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amd-primary);
    font-size: 13px;
    transition: var(--transition);
    border: 1px solid color-mix(in srgb, var(--amd-primary) 15%, transparent);
}

/* ★ Hover - SECONDARY color ★ */
.footer-contact-list li:hover .contact-icon {
    background: color-mix(in srgb, var(--amd-secondary) 20%, transparent);
    color: var(--amd-secondary);
    border-color: color-mix(in srgb, var(--amd-secondary) 30%, transparent);
    transform: scale(1.1);
}

.footer-contact-list a,
.footer-contact-list span {
    color: var(--footer-text);
    text-decoration: none;
    transition: var(--transition);
    word-break: break-word;
}

.footer-contact-list a:hover {
    color: var(--amd-primary-light);
}

/* ====== Social Section ====== */
.footer-social-text {
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.footer-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ★ Social icons - PRIMARY border, hover ma SECONDARY ★ */
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #ffffff;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    border: 1.5px solid color-mix(in srgb, var(--amd-primary) 40%, transparent);
}

.social-icon:hover {
    transform: translateY(-4px) scale(1.1);
}

/* ★ Individual hover colors with AMD accent blend ★ */
.social-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.35);
}

.social-twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    box-shadow: 0 6px 20px rgba(29, 161, 242, 0.35);
}

.social-instagram:hover {
    background: linear-gradient(
        135deg,
        #f09433,
        #e6683c,
        #dc2743,
        #cc2366,
        #bc1888
    );
    border-color: #e6683c;
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.35);
}

.social-linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    box-shadow: 0 6px 20px rgba(10, 102, 194, 0.35);
}

.social-youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.35);
}

/* ★ Generic social hover (PRIMARY + SECONDARY blend) ★ */
.social-icon.social-generic:hover {
    background: linear-gradient(
        135deg,
        var(--amd-primary),
        var(--amd-secondary)
    );
    border-color: var(--amd-primary);
    box-shadow: 0 6px 20px var(--amd-primary-glow);
}

/* ====== Footer Bottom ====== */
.amd-soft-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid var(--footer-border);
    font-size: 13px;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom-left {
    color: var(--footer-text);
}

/* ★ Brand name - PRIMARY color ★ */
.footer-bottom-left strong {
    color: var(--amd-primary);
    transition: var(--transition);
}

.footer-bottom-left strong:hover {
    color: var(--amd-secondary);
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom-right a {
    color: var(--footer-text);
    text-decoration: none;
    transition: var(--transition);
}

/* ★ Bottom links hover - SECONDARY color ★ */
.footer-bottom-right a:hover {
    color: var(--amd-secondary);
}

.footer-divider {
    color: var(--footer-border);
}

/* ====== Back to Top - PRIMARY to SECONDARY gradient ====== */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--amd-primary),
        var(--amd-secondary)
    );
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 4px 15px var(--amd-primary-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--amd-secondary-glow);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .amd-soft-footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 45px 0 30px;
    }
}

@media (max-width: 768px) {
    .amd-soft-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        padding: 35px 0 25px;
    }

    .footer-logo-col {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }

    .footer-tagline {
        max-width: 350px;
        text-align: center;
    }

    .amd-soft-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* ★ Mobile - Side by Side ★ */
@media (max-width: 576px) {
    .amd-soft-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 20px 15px;
        padding: 30px 0 20px;
    }

    .footer-logo-col {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        max-width: 100px;
    }

    .footer-col:last-child {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-col:last-child .footer-heading-line {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .footer-social-text {
        text-align: center;
    }

    .footer-heading {
        font-size: 14px;
    }

    .footer-links a {
        font-size: 12px;
    }

    .footer-link-icon {
        display: none;
    }

    .footer-links a:hover {
        transform: none;
    }

    .footer-links a::after {
        display: none;
    }

    .footer-contact-list li {
        font-size: 12px;
        gap: 8px;
        margin-bottom: 10px;
    }

    .contact-icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 11px;
    }

    .amd-soft-footer-bottom {
        font-size: 11px;
        padding: 14px 0;
    }
}

@media (max-width: 380px) {
    .amd-soft-footer .container {
        padding: 0 10px;
    }

    .amd-soft-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 15px 10px;
    }

    .footer-heading {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .footer-heading-line {
        margin-bottom: 12px;
        height: 2px;
        width: 30px;
    }

    .footer-links a {
        font-size: 11px;
        padding: 2px 0;
    }

    .footer-links li {
        margin-bottom: 5px;
    }

    .footer-contact-list li {
        font-size: 11px;
        gap: 6px;
        margin-bottom: 8px;
    }

    .contact-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
        font-size: 10px;
    }

    .footer-logo {
        max-width: 80px;
    }

    .footer-tagline {
        font-size: 12px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
    .footer-links a:hover {
        transform: none;
    }
    .social-icon:hover {
        transform: none;
    }
    .footer-logo:hover {
        transform: none;
        filter: brightness(1);
    }
    .social-icon:active {
        transform: scale(0.95);
    }
}

@media (prefers-reduced-motion: reduce) {
    .amd-soft-footer::before {
        animation: none;
    }
    * {
        transition: none !important;
    }
}




/* ============================================
   AMD-SOFT HEADER - FULLY RESPONSIVE
   With Mega Menu Support
   Uses: --amd-primary & --amd-secondary
   ============================================ */

/* ====== TOP BAR ====== */
.amd-topbar {
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--amd-primary) 90%, #000),
        color-mix(in srgb, var(--amd-primary) 70%, #000)
    );
    color: #ffffff;
    font-size: 13px;
    padding: 8px 0;
    position: relative;
    z-index: 1001;
}

.amd-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.amd-topbar-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.amd-topbar-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: color 0.3s ease;
    font-size: 12.5px;
}

.amd-topbar-link:hover {
    color: #ffffff;
}

.amd-topbar-link i {
    color: var(--amd-secondary);
    font-size: 11px;
}

.amd-topbar-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 8px;
}

.amd-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.amd-topbar-social {
    display: flex;
    gap: 4px;
}

.amd-topbar-social a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.amd-topbar-social a:hover {
    background: var(--amd-secondary);
    color: #fff;
    transform: translateY(-1px);
}

/* ====== MAIN HEADER ====== */
.amd-header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
}

.amd-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.amd-header.scrolled .amd-header-inner {
    padding: 8px 0;
}

.amd-header.scrolled .amd-logo img {
    height: 42px;
}

.amd-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 30px;
    transition: padding 0.35s ease;
}

/* ====== LOGO ====== */
.amd-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.amd-logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: height 0.35s ease;
}

/* ====== DESKTOP NAVIGATION ====== */
.amd-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.amd-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.amd-nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 16px;
    color: #2d3748;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.amd-nav-link::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--amd-primary), var(--amd-secondary));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.amd-nav-link:hover {
    color: var(--amd-primary);
    background: color-mix(in srgb, var(--amd-primary) 6%, transparent);
}

.amd-nav-link:hover::after,
.amd-nav-link.active::after {
    width: 60%;
}

.amd-nav-link.active {
    color: var(--amd-primary);
}

.amd-dropdown-arrow {
    font-size: 9px;
    transition: transform 0.3s ease;
    color: var(--amd-secondary);
}

/* ====== DESKTOP REGULAR DROPDOWN ====== */
.amd-has-dropdown {
    position: relative;
}

.amd-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12), 0 5px 15px rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.amd-dropdown::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
}

.amd-has-dropdown:hover .amd-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.amd-has-dropdown:hover .amd-dropdown-arrow {
    transform: rotate(180deg);
}

.amd-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.amd-dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #4a5568;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.amd-dd-icon {
    color: var(--amd-secondary);
    font-size: 10px;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.25s ease;
}

.amd-dropdown-link:hover {
    background: color-mix(in srgb, var(--amd-primary) 8%, transparent);
    color: var(--amd-primary);
    padding-left: 18px;
}

.amd-dropdown-link:hover .amd-dd-icon {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   MEGA MENU - DESKTOP
   ============================================ */
.amd-has-mega {
    position: static;
}

.amd-mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.06);
    border-top: 3px solid var(--amd-primary);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

/* Invisible hover bridge */
.amd-mega-dropdown::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 0;
    right: 0;
    height: 18px;
}

.amd-has-mega:hover .amd-mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.amd-has-mega:hover .amd-dropdown-arrow {
    transform: rotate(180deg);
}

.amd-mega-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Mega Menu Header */
.amd-mega-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.amd-mega-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.amd-mega-title i {
    color: var(--amd-primary);
    font-size: 16px;
}

.amd-mega-subtitle {
    font-size: 13px;
    color: #9ca3af;
    margin: 4px 0 0;
}

.amd-mega-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: color-mix(in srgb, var(--amd-primary) 8%, transparent);
    color: var(--amd-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1.5px solid color-mix(in srgb, var(--amd-primary) 20%, transparent);
}

.amd-mega-view-all:hover {
    background: var(--amd-primary);
    color: #fff;
    border-color: var(--amd-primary);
}

.amd-mega-view-all i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.amd-mega-view-all:hover i {
    transform: translateX(3px);
}

/* Mega Menu Grid */
.amd-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 20px 28px;
}

/* Mega Menu Card */
.amd-mega-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #fafbfc;
    border: 1.5px solid #f0f0f0;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.amd-mega-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--amd-primary), var(--amd-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 3px 0 0 3px;
}

.amd-mega-card:hover {
    background: #ffffff;
    border-color: color-mix(in srgb, var(--amd-primary) 30%, transparent);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/*.amd-mega-card:hover::before {*/
/*    opacity: 1;*/
/*}*/

.amd-mega-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--amd-primary) 10%, transparent),
        color-mix(in srgb, var(--amd-secondary) 10%, transparent)
    );
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.amd-mega-card:hover .amd-mega-card-icon {
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--amd-primary) 18%, transparent),
        color-mix(in srgb, var(--amd-secondary) 18%, transparent)
    );
    transform: scale(1.05);
}

.amd-mega-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.amd-mega-card-icon i {
    font-size: 20px;
    color: var(--amd-primary);
}

.amd-mega-card-content {
    flex: 1;
    min-width: 0;
}

.amd-mega-card-title {
    font-size: 14px;
    font-weight: 650;
    color: #1a202c;
    margin: 0 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.amd-mega-card:hover .amd-mega-card-title {
    color: var(--amd-primary);
}

.amd-mega-card-desc {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.amd-mega-card-arrow {
    font-size: 11px;
    color: #d1d5db;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.amd-mega-card:hover .amd-mega-card-arrow {
    color: var(--amd-primary);
    transform: translateX(3px);
}

/* Mega Menu Footer */
.amd-mega-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--amd-primary) 4%, #fafbfc),
        color-mix(in srgb, var(--amd-secondary) 4%, #fafbfc)
    );
    border-top: 1px solid #f0f0f0;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.amd-mega-footer-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #6b7280;
    font-weight: 500;
}

.amd-mega-footer-content i {
    font-size: 18px;
    color: var(--amd-primary);
}

.amd-mega-footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--amd-primary), var(--amd-secondary));
    color: #ffffff !important;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--amd-primary) 25%, transparent);
}

.amd-mega-footer-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--amd-primary) 35%, transparent);
}

.amd-mega-footer-btn i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.amd-mega-footer-btn:hover i {
    transform: translateX(3px);
}

/* ====== HEADER RIGHT ACTIONS ====== */
.amd-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* ====== LANGUAGE SWITCHER ====== */
.amd-lang-switcher {
    position: relative;
}

.amd-lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: color-mix(in srgb, var(--amd-primary) 8%, transparent);
    border: 1.5px solid color-mix(in srgb, var(--amd-primary) 20%, transparent);
    border-radius: 8px;
    color: var(--amd-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amd-lang-btn:hover {
    background: color-mix(in srgb, var(--amd-primary) 14%, transparent);
    border-color: var(--amd-primary);
}

.amd-lang-arrow {
    font-size: 9px;
    transition: transform 0.3s ease;
}

.amd-lang-switcher.open .amd-lang-arrow {
    transform: rotate(180deg);
}

.amd-lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 101;
}

.amd-lang-switcher.open .amd-lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.amd-lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    color: #4a5568;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 7px;
    transition: all 0.25s ease;
}

.amd-lang-option:hover {
    background: color-mix(in srgb, var(--amd-primary) 8%, transparent);
    color: var(--amd-primary);
}

.amd-lang-option.active {
    background: color-mix(in srgb, var(--amd-primary) 10%, transparent);
    color: var(--amd-primary);
}

.amd-lang-option .fa-check {
    margin-left: auto;
    font-size: 11px;
    color: var(--amd-secondary);
}

/* ====== CTA BUTTON ====== */
.amd-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--amd-primary), var(--amd-secondary));
    color: #ffffff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--amd-primary) 30%, transparent);
}

.amd-cta-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.amd-cta-btn:hover::before {
    left: 100%;
}

.amd-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px color-mix(in srgb, var(--amd-primary) 40%, transparent);
}

.amd-cta-btn .fa-arrow-right {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.amd-cta-btn:hover .fa-arrow-right {
    transform: translateX(3px);
}

/* ====== HAMBURGER ====== */
.amd-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 2px solid color-mix(in srgb, var(--amd-primary) 25%, transparent);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    gap: 5px;
    transition: all 0.3s ease;
}

.amd-hamburger:hover {
    border-color: var(--amd-primary);
    background: color-mix(in srgb, var(--amd-primary) 6%, transparent);
}

.amd-hamburger-line {
    display: block;
    width: 20px;
    height: 2.5px;
    background: var(--amd-primary);
    border-radius: 2px;
    transition: all 0.35s ease;
    transform-origin: center;
}

.amd-hamburger.active .amd-hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.amd-hamburger.active .amd-hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.amd-hamburger.active .amd-hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ====== MOBILE OVERLAY ====== */
.amd-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.amd-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ====== MOBILE SLIDE MENU ====== */
.amd-mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.amd-mobile-menu.active {
    right: 0;
}

.amd-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--amd-primary) 5%, #fff),
        color-mix(in srgb, var(--amd-secondary) 5%, #fff)
    );
    flex-shrink: 0;
}

.amd-mobile-logo img {
    height: 40px;
    width: auto;
}

.amd-mobile-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--amd-primary) 10%, transparent);
    border: none;
    border-radius: 50%;
    color: var(--amd-primary);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amd-mobile-close:hover {
    background: var(--amd-primary);
    color: #fff;
    transform: rotate(90deg);
}

.amd-mobile-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
}

/* Mobile Nav List */
.amd-mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.amd-mobile-nav > li > a,
.amd-mobile-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    color: #2d3748;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.25s ease;
}

.amd-mobile-nav > li > a i:first-child,
.amd-mobile-parent span i {
    color: var(--amd-primary);
    width: 20px;
    margin-right: 10px;
    font-size: 13px;
}

.amd-mobile-nav > li > a:hover,
.amd-mobile-parent:hover {
    background: color-mix(in srgb, var(--amd-primary) 5%, transparent);
    color: var(--amd-primary);
    padding-left: 26px;
}

.amd-mobile-nav > li > a.active {
    color: var(--amd-primary);
    background: color-mix(in srgb, var(--amd-primary) 6%, transparent);
    border-left: 3px solid var(--amd-primary);
}

.amd-mobile-toggle-icon {
    font-size: 12px;
    color: var(--amd-secondary);
    transition: transform 0.3s ease;
}

.amd-mobile-has-sub.open .amd-mobile-toggle-icon {
    transform: rotate(45deg);
}

/* Regular Mobile Submenu */
.amd-mobile-sub {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #fafafa;
}

.amd-mobile-has-sub.open .amd-mobile-sub {
    max-height: 500px;
}

.amd-mobile-sub li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px 11px 50px;
    color: #5a6577;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.25s ease;
}

.amd-mobile-sub li a i {
    color: var(--amd-secondary);
    font-size: 10px;
}

.amd-mobile-sub li a:hover {
    color: var(--amd-primary);
    background: color-mix(in srgb, var(--amd-primary) 5%, transparent);
    padding-left: 56px;
}

/* ============================================
   MOBILE MEGA MENU
   ============================================ */
.amd-mobile-mega-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fafbfc;
}

.amd-mobile-has-sub.open .amd-mobile-mega-content {
    max-height: 2000px;
}

/* Mobile Mega Label */
.amd-mobile-mega-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #9ca3af;
}

.amd-mobile-mega-label i {
    color: var(--amd-primary);
    font-size: 12px;
}

/* Mobile Mega Card */
.amd-mobile-mega-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.25s ease;
}

.amd-mobile-mega-card:hover {
    background: color-mix(in srgb, var(--amd-primary) 5%, transparent);
    padding-left: 26px;
}

.amd-mobile-mega-thumb {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--amd-primary) 10%, #fff),
        color-mix(in srgb, var(--amd-secondary) 10%, #fff)
    );
    border-radius: 10px;
    overflow: hidden;
}

.amd-mobile-mega-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.amd-mobile-mega-thumb i {
    font-size: 16px;
    color: var(--amd-primary);
}

.amd-mobile-mega-info {
    flex: 1;
    min-width: 0;
}

.amd-mobile-mega-info h6 {
    font-size: 13.5px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.amd-mobile-mega-card:hover .amd-mobile-mega-info h6 {
    color: var(--amd-primary);
}

.amd-mobile-mega-info p {
    font-size: 11.5px;
    color: #9ca3af;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.amd-mobile-mega-arrow {
    font-size: 10px;
    color: #d1d5db;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.amd-mobile-mega-card:hover .amd-mobile-mega-arrow {
    color: var(--amd-primary);
    transform: translateX(3px);
}

/* Mobile Mega View All */
.amd-mobile-mega-viewall {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    color: var(--amd-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    background: color-mix(in srgb, var(--amd-primary) 6%, transparent);
    border-top: 1px solid color-mix(in srgb, var(--amd-primary) 12%, transparent);
    transition: all 0.3s ease;
}

.amd-mobile-mega-viewall:hover {
    background: color-mix(in srgb, var(--amd-primary) 12%, transparent);
}

.amd-mobile-mega-viewall .fa-arrow-right {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.amd-mobile-mega-viewall:hover .fa-arrow-right {
    transform: translateX(3px);
}

/* ====== Mobile Language ====== */
.amd-mobile-lang {
    padding: 16px 20px;
    border-top: 1px solid #f0f0f0;
    margin-top: 8px;
}

.amd-mobile-lang-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9ca3af;
    margin-bottom: 10px;
}

.amd-mobile-lang-options {
    display: flex;
    gap: 8px;
}

.amd-mobile-lang-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.25s ease;
}

.amd-mobile-lang-btn.active {
    border-color: var(--amd-primary);
    background: color-mix(in srgb, var(--amd-primary) 8%, transparent);
    color: var(--amd-primary);
}

.amd-mobile-lang-btn:hover {
    border-color: var(--amd-primary);
}

/* Mobile CTA */
.amd-mobile-cta {
    padding: 12px 20px;
}

.amd-mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--amd-primary), var(--amd-secondary));
    color: #ffffff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--amd-primary) 30%, transparent);
}

.amd-mobile-cta-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--amd-primary) 40%, transparent);
}

/* Mobile Footer */
.amd-mobile-footer {
    padding: 16px 20px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
    flex-shrink: 0;
    background: #fafafa;
}

.amd-mobile-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.amd-mobile-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--amd-primary) 10%, transparent);
    color: var(--amd-primary);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.amd-mobile-social a:hover {
    background: var(--amd-primary);
    color: #fff;
    transform: translateY(-2px);
}

.amd-mobile-copyright {
    font-size: 11px;
    color: #9ca3af;
    margin: 0;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Large Desktop */
@media (max-width: 1200px) {
    .amd-nav-link {
        padding: 10px 12px;
        font-size: 13px;
    }

    .amd-cta-btn {
        padding: 9px 18px;
        font-size: 12px;
    }

    /* Mega menu: 3 columns */
    .amd-mega-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 16px 20px;
        gap: 10px;
    }

    .amd-mega-header,
    .amd-mega-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Tablet - Hide desktop nav, show hamburger */
@media (max-width: 991px) {
    .amd-topbar {
        display: none;
    }

    .amd-nav {
        display: none;
    }

    .amd-hamburger {
        display: flex;
    }

    .amd-cta-btn {
        display: none;
    }

    .amd-lang-switcher {
        display: none;
    }

    .amd-header-inner {
        padding: 10px 0;
    }

    .amd-logo img {
        height: 42px;
    }

    /* Hide desktop mega menu */
    .amd-mega-dropdown {
        display: none !important;
    }
}

/* Small tablets */
@media (max-width: 768px) {
    .amd-header .container {
        padding: 0 15px;
    }

    .amd-logo img {
        height: 38px;
    }

    .amd-hamburger {
        width: 38px;
        height: 38px;
    }

    .amd-hamburger-line {
        width: 18px;
        height: 2px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .amd-logo img {
        height: 35px;
    }

    .amd-mobile-menu {
        width: 280px;
    }

    .amd-mobile-nav > li > a,
    .amd-mobile-parent {
        padding: 12px 16px;
        font-size: 13px;
    }

    .amd-mobile-sub li a {
        padding: 10px 16px 10px 44px;
        font-size: 12px;
    }

    .amd-mobile-mega-card {
        padding: 10px 16px;
    }

    .amd-mobile-mega-thumb {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .amd-mobile-mega-info h6 {
        font-size: 12.5px;
    }
}

/* Very small */
@media (max-width: 360px) {
    .amd-mobile-menu {
        width: 260px;
    }
}

/* Topbar responsive (between 992-1200) */
@media (max-width: 1100px) and (min-width: 992px) {
    .hide-tablet {
        display: none !important;
    }

    .amd-topbar-link {
        font-size: 11.5px;
    }
}

/* Prevent body scroll when menu open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Touch device optimization */
@media (hover: none) and (pointer: coarse) {
    .amd-nav-link:hover {
        background: transparent;
    }
    .amd-nav-link:active {
        background: color-mix(in srgb, var(--amd-primary) 6%, transparent);
    }
    .amd-cta-btn:hover {
        transform: none;
    }
    .amd-cta-btn:active {
        transform: scale(0.98);
    }
    .amd-mega-card:hover {
        transform: none;
    }
    .amd-mega-card:active {
        transform: scale(0.98);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: 0.01ms !important;
    }
    .amd-cta-btn::before {
        display: none;
    }
    .amd-mobile-menu {
        transition: none;
    }
}

/* ============================================
amd pagination
=============================================*/
.amd-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 20px 0;
    justify-content: center;
}

.amd-pagination .page-link {
    text-decoration: none;
    color: #444;
    padding: 8px 14px;
    border: 1px solid #dfe3e8;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: #fff;
}

.amd-pagination .page-link:hover:not(.disabled):not(.active) {
    background-color: #f1f3f5;
    border-color: #ced4da;
    color: #000;
}

.amd-pagination .page-link.active {
    background-color: var(--amd-primary);
    color: white;
    border-color: var(--amd-primary);
    box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
}

.amd-pagination .prev-next {
    font-weight: 600;
}

.amd-pagination .page-link.disabled {
    color: #adb5bd;
    pointer-events: none;
    background-color: #f8f9fa;
    border-color: #e9ecef;
}

.amd-pagination .page-dots {
    color: #6c757d;
    padding: 0 5px;
}





/* cta section */

.amd-product-cta-box {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .amd-product-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
}

.amd-product-cta-content h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.amd-product-cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
}

.amd-product-cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
