:root {
    --primary-color: #7b68ee;
    --secondary-color: #ff69b4;
    --accent-color: #9370db;
    --text-color: #343a40;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --primary-btn: #7b68ee;
    --secondary-btn: #ff69b4;
    /* Hamburger specific colors */
    --hamburger-color-initial: var(--text-color);
    --hamburger-color-scrolled: var(--text-color-scrolled);

    /* Secondary text */
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-dark: #2d3748;
    --quote-icon-bg: #edf2f7;
    --quote-icon-color: #a0aec0;
    --border-color: #e2e8f0;
}

/* nav bar root */
:root {
    --nav-bg-initial: transparent;
    --nav-bg-scrolled: #3e1494;
    /* Changed to a specific color for consistency */
    --text-color: #6001b9;
    --text-color-scrolled: #fff;
    --hover-bg: rgba(255, 255, 255, 0.1);
    --transition-speed: 0.4s;
}

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, sans-serif;
    background-color: #f9fafb;
}

html.lenis {
    scroll-behavior: auto !important;
}

/* navigation bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px 30px;
    background-color: var(--nav-bg-initial);
    color: var(--text-color);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    transition:
        background-color var(--transition-speed) ease,
        padding var(--transition-speed) ease,
        box-shadow var(--transition-speed) ease,
        color var(--transition-speed) ease;
    z-index: 1000;
}

.navbar.scrolled {
    background-color: var(--nav-bg-scrolled);
    padding: 14px 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    color: var(--text-color-scrolled);
}

.logo {
    font-size: 22px;
    font-weight: bold;
    transition: color var(--transition-speed);
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    color: inherit;
    position: relative;
    padding: 6px 0;
    transition: color var(--transition-speed);
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: 0;
    background-color: currentColor;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    /* Ensure hamburger is above mobile menu */
    position: relative;
    /* Needed for positioning the spans for the cross */
    width: 25px;
    /* Define width for centering and transformation */
    height: 20px;
    /* Define height for consistent spacing */
    justify-content: space-between;
    /* Distribute spans vertically */
}

.hamburger span {
    height: 3px;
    width: 100%;
    /* Spans take full width of hamburger container */
    background-color: var(--hamburger-color-initial);
    /* Use variable */
    border-radius: 2px;
    transition: background-color var(--transition-speed) ease-in-out,
        transform var(--transition-speed) ease-in-out,
        opacity var(--transition-speed) ease-in-out;
    /* Add transform and opacity to transition */
}

/* Styles for the cross icon transformation */
.hamburger.open span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
    /* Move down and rotate for top bar */
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    /* Hide the middle bar */
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
    /* Move up and rotate for bottom bar */
}

.navbar.scrolled .hamburger span {
    background-color: var(--hamburger-color-scrolled);
    /* Use variable */
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: #000;
    display: flex;
    flex-direction: column;
    padding: 60px 20px;
    gap: 20px;
    transition: right 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 10px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.mobile-menu a:hover {
    background: var(--hover-bg);
}

/* scroll btn for page */
#scrollUpBtn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: var(--accent-color);
    border: none;
    z-index: 1100;
    cursor: pointer;
    display: none;

    /* Default desktop size */
    width: 40px;
    height: 50px;
    font-size: 2rem;
    padding: 0;
    box-shadow:
        0 8px 15px rgba(74, 144, 226, 0.4),
        0 6px 20px rgba(0, 86, 179, 0.3);
    transition: all 0.3s ease;
}

#scrollUpBtn:hover {
    background: linear-gradient(135deg, var(--nav-bg-scrolled), var(--primary-btn));
    box-shadow:
        0 12px 20px rgba(179, 0, 149, 0.6),
        0 8px 30px rgba(77, 0, 128, 0.5);
}

/* Rotate arrow on hover */
#scrollUpBtn i {
    color: var(--light-bg);
    display: inline-block;
    transition: transform 0.4s ease;
    transform: rotate(0deg);
}

#scrollUpBtn:hover i {
    transform: rotate(-90deg);
    color: var(--light-bg);
}

/* Responsive sizes */
@media (max-width: 768px) {
    #scrollUpBtn {
        width: 30px;
        height: 40px;
        font-size: 1.4rem;
        bottom: 25px;
        right: 25px;
    }
}

@media (max-width: 480px) {
    #scrollUpBtn {
        width: 20px;
        height: 30px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
}


/* btns */
.amd-soft-btn-primary,
.amd-soft-btn-secondary,
.amd-soft-btn-outline-primary,
.amd-soft-btn-outline-secondary,
.amd-soft-btn-info,
.amd-soft-btn-outline-accent,
.amd-soft-btn-dark {
    border-radius: 12px;
    padding: 10px 20px;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    /* Combined and added box-shadow for hover */
    display: inline-block;
    /* Ensures padding and width work as expected */
    text-align: center;
    /* Centers text */
    text-decoration: none;
    /* Removes underline from anchor tags if used as buttons */
    font-size: 16px;
    /* Default font size for buttons */
    white-space: nowrap;
    /* Prevents text from wrapping */
}

.amd-soft-btn-primary {
    color: var(--accent-color);
    border: 1px solid var(--primary-btn);
}

.amd-soft-btn-primary:hover {
    background-color: #6a5acd;
    border-color: #6a5acd;
    color: var(--white);
    transform: translateY(-3px);
    /* Increased hover effect */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    /* Added shadow */
}

.amd-soft-btn-secondary {
    color: var(--secondary-btn);
    border: 1px solid var(--secondary-btn);
    border-radius: 2px;
    /* Adjusted to match initial design */
}

.amd-soft-btn-secondary:hover {
    background-color: #e0509a;
    border-color: #e0509a;
    color: var(--white);
    transform: translateY(-3px);
    /* Increased hover effect */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    /* Added shadow */
}

.amd-soft-btn-outline-primary {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.amd-soft-btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.amd-soft-btn-outline-secondary {
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.amd-soft-btn-outline-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.amd-soft-btn-info {
    background-color: var(--accent-color);
    border: 1px solid var(--accent-color);
    color: var(--white);
    /* Default color for solid buttons */
}

.amd-soft-btn-info:hover {
    background-color: #825edb;
    border-color: #825edb;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.amd-soft-btn-outline-accent {
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.amd-soft-btn-outline-accent:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.amd-soft-btn-dark {
    background-color: var(--text-color);
    border: 1px solid var(--text-color);
    color: var(--white);
    /* Default color for solid buttons */
}

.amd-soft-btn-dark:hover {
    background-color: #212529;
    border-color: #212529;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}


/* Hero Section with Carousel */
.amd-soft-hero-slider-section {
    position: relative;
    overflow: hidden;
    /* min-height: 100vh; Adjust this or use padding-top with carousel item height */
    padding-top: 70px;
    /* To push content below the fixed navbar */
}

/* Curve rising up from bottom */
.amd-soft-hero-slider-section::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 230px;
    /* This height might need to be adjusted with vh units for better responsiveness */
    background: url('/public/images/curve.png') no-repeat center center / cover;
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
    z-index: 1;
}

/* Rocket button style */
.rocket-btn {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    mix-blend-mode: color-burn;
    /* Centering the button */
    cursor: pointer;
    z-index: 10;
    border: none;
    /* background: transparent; */
    animation: rocket-bounce 2s ease-in-out infinite;
}

.rocket-btn img {
    height: 100px;
    width: 100px;
    display: block;

    /* Ensures no extra space below the image */
}

/* Rocket bounce animation */
@keyframes rocket-bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        /* box-shadow: 0 0 15px #f822ffaa; */
    }

    50% {
        transform: translateX(-50%) translateY(-15px);
        /* box-shadow: 0 10px 25px #9c22ffcc; */
    }
}

/* On hover effect */
.rocket-btn img:hover {
    animation-play-state: paused;
    /* filter: drop-shadow(0 0 10px rgba(192, 76, 247, 0.8)); */
    /* Increased glow and opacity */
    transform: scale(1.05);
    /* Slight scale on hover */
    transition: filter 0.3s ease, transform 0.3s ease;
    /* Smooth transition for hover */
}


/* hero slider first section */

.amd-soft-carousel-item {
    height: 95vh;
    /* Use vh for responsive height */
    background-size: cover;
    background-position: center;
    position: relative;
}

.amd-soft-carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.amd-soft-carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding-bottom: 100px;
    padding-left: 20px;
    padding-right: 20px;
    /* Added horizontal padding */
}

.amd-soft-carousel-caption h1,
.amd-soft-carousel-caption h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    /* Responsive font size */
    font-weight: 700;
    margin-bottom: 1rem;
}

.amd-soft-carousel-caption p {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    /* Responsive font size */
    margin-bottom: 2rem;
    max-width: 800px;
    /* Limit width for readability on large screens */
}

.amd-soft-carousel-indicators button {
    background-color: var(--primary-color);
}

.amd-soft-carousel-control-prev-icon,
.amd-soft-carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 1.5rem;
}

/* General Section Styling */
.amd-soft-section {
    padding: 80px 0;
    /* Default padding */
}

.amd-soft-section h2 {
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
    text-align: center;
    /* Centered for better responsiveness */
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    /* Responsive font size */

}

.amd-soft-section h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 4px;
    width: 100px;
    background-color: var(--primary-color);
    border-radius: 5px;
}

/* Icon css */
i {
    color: var(--primary-color);
}

.amd-soft-i:hover {
    color: var(--white);
}

.text-color {
    color: var(--primary-color);
}

/* Card Hover Effect */
.amd-soft-hover-effect {
    position: relative;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

#accordionExperience .amd-soft-hover-effect[data-bg] {
    background-image: attr(data-bg url);
}

/* Dark blur overlay */
#accordionExperience .amd-soft-hover-effect::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    /* Dark overlay */
    backdrop-filter: blur(1px);
    /* Blur effect */
    z-index: 1;
}

/* Content inside should stay above overlay */
.amd-soft-hover-effect>* {
    position: relative;
    z-index: 2;
}


.amd-soft-hover-effect:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Specific Card Header Colors for Plans */
.amd-soft-card-header {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-weight: 600;
}

.amd-soft-hover-effect .card-title {
    color: var(--white);
}

.amd-soft-hover-effect button {
    color: var(--white);
}

.amd-soft-hover-effect .amd-FAQ-btn {
    color: var(--text-dark);
}

.amd-FAQ {
    color: var(--text-dark) !important;

    background: none !important;
}

.amd-FAQ-btn i {
    color: var(--amd-primary) !important;
}

.amd-soft-hover-effect .collapse {
    color: var(--white);
    padding: 10px 14px;
    background: #7979799a;
}

.amd-soft-i {
    color: var(--white) !important;

}

#amd-soft-plans .amd-soft-card-header.bg-primary {
    background-color: var(--primary-color) !important;
}

#amd-soft-plans .amd-soft-card-header.bg-secondary {
    background-color: var(--secondary-color) !important;
}

#amd-soft-plans .amd-soft-card-header.bg-accent {
    background-color: var(--accent-color) !important;
}

.amd-soft-plan-features {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.amd-soft-plan-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.amd-soft-plan-features li i {
    color: #28a745;
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

/* Accordion Styling */
.amd-soft-accordion-item {
    border: 1px solid #e0e0e0;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    padding: 20px 0;
}

.amd-soft-accordion-button {
    background-color: var(--white);
    color: var(--text-color);
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    /* Responsive font size */
    padding: 1.2rem 1.5rem;
    transition: background-color 0.3s ease;
}

.amd-soft-accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.amd-soft-accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.amd-soft-accordion-button::after {
    filter: invert(0.5) sepia(1) saturate(5) hue-rotate(200deg);
}

.amd-soft-accordion-button:not(.collapsed)::after {
    filter: invert(1) grayscale(1) brightness(2);
}

.amd-soft-accordion-body {
    padding: 1.5rem;
    background-color: var(--white);
}

.amd-soft-client-list li,
.amd-soft-list-unstyled li {
    margin-bottom: 0.5rem;
}

.amd-soft-client-list li i {
    color: var(--primary-color);
}

.accordion-button:not(.collapsed) .accordion-icon {
    color: var(--white) !important;
}

/* Footer */
footer {
    background-color: var(--white) !important;
    color: var(--text-dark);
    padding: 40px 20px;
    font-size: 1rem;
    /* Added padding for smaller screens */
    text-align: center;
    /* Centered text for responsiveness */
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .navbar {
        padding: 10px 20px;
        /* Adjust padding for slightly smaller screens */
    }

    .nav-links {
        gap: 15px;
        /* Reduce gap between nav links */
    }

    .nav-links a {
        font-size: 18px;
    }

    .amd-soft-hero-slider-section::after {
        height: 170px;
        /* Smaller curve for medium screens */
    }

    .rocket-btn {
        bottom: 50px;
        /* Adjust rocket button position */
    }

    .rocket-btn img {
        height: 60px;
        width: 60px;
    }
}

@media (max-width: 768px) {
    .navbar {
        justify-content: space-between;
        /* Push logo and hamburger to ends */
        padding: 10px 20px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
        /* Show hamburger */
    }

    .mobile-menu {
        width: 100%;
        /* Full width for small phones */
        right: -100%;
        /* Ensure it's off-screen initially */
        padding: 80px 20px 20px;
        /* Adjust padding for top bar and bottom */
        box-sizing: border-box;
        /* Include padding in width calculation */
    }

    .amd-soft-carousel-caption {
        padding-bottom: 50px;
        /* Less padding on smaller screens */
    }

    .amd-soft-carousel-caption h1,
    .amd-soft-carousel-caption h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        /* Adjusted clamp for smaller screens */
    }

    .amd-soft-carousel-caption p {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
        /* Adjusted clamp for smaller screens */
    }

    .amd-soft-section {
        padding: 40px 20px;
        /* Reduced vertical padding and added horizontal padding */
    }

    .amd-soft-section h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .amd-soft-accordion-button {
        font-size: clamp(0.9rem, 2.8vw, 1rem);
        padding: 1rem 1.2rem;
    }

    .amd-soft-plan-features {
        max-width: 100%;
    }

    .amd-soft-hero-slider-section::after {
        height: 120px;
        /* Even smaller curve for mobile */
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 8px 15px;
        /* Smaller padding for very small screens */
    }

    .logo {
        font-size: 20px;
    }

    .mobile-menu {
        padding-top: 60px;
        /* Adjust for smaller hamburger/navbar height */
    }

    .amd-soft-carousel-item {
        height: 80vh;
        /* Make carousel items slightly shorter on very small screens */
    }

    .amd-soft-carousel-caption h1,
    .amd-soft-carousel-caption h2 {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .amd-soft-carousel-caption p {
        font-size: clamp(0.8rem, 3.5vw, 1rem);
    }

    .amd-soft-hero-slider-section .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1.2rem;
    }

    .rocket-btn {
        bottom: 30px;
    }

    .rocket-btn img {
        height: 60px;
        width: 60px;
    }

    .amd-soft-section {
        padding: 30px 15px;
        /* Even less padding */
    }

    .amd-soft-section h2 {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }

    .amd-soft-accordion-button {
        font-size: clamp(0.85rem, 3vw, 0.9rem);
        padding: 0.8rem 1rem;
    }
}

/* Optional: Landscape mode adjustments for mobile devices */
@media (max-height: 500px) and (max-width: 992px) and (orientation: landscape) {
    .amd-soft-carousel-item {
        height: 100vh;
        /* Maximize height in landscape */
    }

    .amd-soft-carousel-caption {
        padding-bottom: 20px;
        /* Reduce caption padding to fit content */
    }

    .amd-soft-carousel-caption h1,
    .amd-soft-carousel-caption h2 {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }

    .amd-soft-carousel-caption p {
        font-size: clamp(0.8rem, 2vw, 1rem);
    }

    .rocket-btn {
        bottom: 20px;
        /* Adjust rocket position for landscape */
    }

    .rocket-btn img {
        height: 50px;
        width: 50px;
    }

    .mobile-menu {
        padding: 40px 20px 20px;
        /* Adjust padding for landscape mobile menu */
    }
}



/* service page */
/* LeadForm Content Styles */

.main-content {
    padding-top: 70px;
}

.amd-soft-visit-hero-section {
    background-color: #1a1a3d;
    padding: 8rem 0;
    text-align: center;
    color: white;
    background-image: url('../logos/Purple Futuristic Technology Presentation.jpg');
    background-size: cover;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.amd-soft-visit-hero-section .amd-soft-visit-zap-icon {
    color: #facc15;
    font-size: 1rem;
    margin-right: 0.5rem;
}

.amd-soft-visit-hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-top: 1rem;
}

.amd-soft-visit-hero-section .amd-soft-visit-btn-primary-custom {
    background-color: none;
    border-color: var(--accent-color);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    margin-top: 2rem;
}

.amd-soft-visit-hero-section .amd-soft-visit-btn-primary-custom:hover {
    background-color: var(--primary-btn);
    border-color: var(--primary-btn);
}

.scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    position: absolute;
    top: 0;
    width: 100%;
    white-space: nowrap;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}



.scroll-inner .btn {
    flex: 0 0 auto;
    min-width: 160px;
    white-space: normal;
}

.scroll-inner .btn:hover {
    background: var(--hover-bg);
}

.amd-soft-visit-leadform-section {
    background-color: rgb(250, 250, 250);
    border-radius: 0.5rem;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    z-index: 10;
    margin-top: -6rem;
    max-width: 64rem;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.amd-soft-visit-leadform-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #374151;
}

.amd-soft-visit-leadform-section p.amd-soft-visit-question {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4b5563;
    margin-top: 1rem;
}

.amd-soft-visit-leadform-section p.amd-soft-visit-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.amd-soft-visit-leadform-section .row.g-4 {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 15px;
    margin-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.amd-soft-visit-leadform-section .row.g-4::-webkit-scrollbar {
    display: none;
}

/* .amd-soft-visit-leadform-section .amd-soft-visit-home-type-btn {
    background-color: #6a3ab2;
    border-color: #6a3ab2;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 0.5rem;
    height: 8rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    flex-shrink: 0;
    width: 160px;
    margin-right: 1rem;
} */
/* cardsss */
.amd-soft-visit-home-type-btn {
    flex: 0 0 auto;
    width: 160px;
    white-space: normal;
    height: 100px;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #6a3ab2;
    background-color: #6a3ab2;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.amd-soft-visit-home-type-btn i {
    font-size: 2rem;
    margin-bottom: 8px;
}

/* Wrapper hides overflow */
.scroll-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    margin: auto;
    height: 170px;
    /* Enough height for buttons */
}

/* Both containers absolute and full width */
.scroll-container {}

/* Default buttons start visible (left:0) */
#defaultButtons {
    left: 0;
}

/* Extra buttons start off screen right */
#extraButtons {
    left: 100%;
}

/* Inner container flex for buttons */
.scroll-inner {
    display: inline-flex;
    gap: 1rem;
}

/* Back button container */
#backButtonContainer {
    display: none;
    margin-top: 15px;
    text-align: center;
    gap: 2rem;
}

#backBtn {
    cursor: pointer;
    padding: 8px 20px;
    border: 2px solid var(--accent-color);
    background: var(--light-bg);
    color: var(--secondary-color);
    border-radius: 6px;
    font-weight: bold;
}

#nextBtn {
    cursor: pointer;
    padding: 8px 20px;
    border: 2px solid var(--accent-color);
    background: var(--light-bg);
    color: var(--secondary-color);
    border-radius: 6px;
    font-weight: bold;
    padding-left: 30px;
}

#backBtn:hover {
    background: var(--accent-color);
    color: white;
}

/* end */



.amd-soft-visit-leadform-section .amd-soft-visit-home-type-btn:last-child {
    margin-right: 0;
}



.amd-soft-visit-leadform-section .amd-soft-visit-home-type-btn i {

    transition: transform 0.3s ease;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.amd-soft-visit-leadform-section .amd-soft-visit-estimate-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 1rem;
}

.amd-soft-visit-demo-button-section {
    text-align: center;
    margin-top: 1rem;
}

.amd-soft-visit-demo-button-section .amd-soft-visit-btn-outline-custom {
    border: 1px solid #2563eb;
    color: #2563eb;
    background-color: transparent;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
}

/* When the hidden checkbox inside is checked, style the label */
.amd-soft-visit-home-type-btn input[type="checkbox"]:checked+i,
.amd-soft-visit-home-type-btn input[type="checkbox"]:checked~i,
.amd-soft-visit-home-type-btn input[type="checkbox"]:checked~span {
    /* (if you have icon or span siblings, style here if needed) */
}

/* Highlight selected card */
.amd-soft-visit-home-type-btn input[type="checkbox"]:checked+i,
.amd-soft-visit-home-type-btn input[type="checkbox"]:checked~* {
    /* For icons or text if siblings */
}

.amd-soft-visit-home-type-btn input[type="checkbox"]:checked+*,
.amd-soft-visit-home-type-btn input[type="checkbox"]:checked+i {
    /* Just in case */
}

/* Main style: when input checked, style the label itself */
.amd-soft-visit-home-type-btn input[type="checkbox"]:checked {
    /* checkbox hidden, so no effect here */
}

/* Use :has() selector if supported: (modern browsers) */
.amd-soft-visit-home-type-btn:has(input[type="checkbox"]:checked),
.amd-soft-visit-home-type-btn:has(input[type="radio"]:checked) {
    border: 2px solid #007bff;
    /* Bootstrap primary blue */
    background-color: #e6f0ff;
    /* light blue bg */
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
    color: #004085;
    /* darker text */
}


/* Hover effect */
.amd-soft-visit-home-type-btn:hover {
    background-color: #f0f8ff;
    /* lighter blue hover */
    border-color: #0056b3;
}

/* Focus effect (keyboard navigation) */
.amd-soft-visit-home-type-btn:focus-visible {
    outline: 2px solid #0056b3;
    outline-offset: 2px;
}



.amd-soft-visit-demo-button-section .amd-soft-visit-btn-outline-custom:hover {
    background-color: #eff6ff;
    color: #1d4ed8;
}

.amd-soft-visit-features-section {
    text-align: center;
    margin-top: 3rem;
    padding-bottom: 4rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.amd-soft-visit-features-section p.amd-soft-visit-intro-text {
    font-size: 1.125rem;
    color: #4b5563;
}

.amd-soft-visit-features-section .amd-soft-visit-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.amd-soft-visit-features-section .amd-soft-visit-feature-item i {
    font-size: 2.5rem;
    color: #4b5563;
}

.amd-soft-visit-features-section .amd-soft-visit-feature-item h3 {
    font-weight: 700;
    font-size: 1.125rem;
    margin-top: 0.5rem;
}

.amd-soft-visit-features-section .amd-soft-visit-feature-item p {
    font-size: 0.875rem;
    color: #5a6270;
    margin-top: 0.25rem;
}

/* single card  */


/* Class name changed from .amd-soft-single-card to .amd-soft-signle-card */
.amd-soft-signle-card {
    background: linear-gradient(145deg, var(--accent-color), var(--nav-bg-scrolled));
    border-radius: 24px;
    padding: 30px 30px 30px;
    width: 280px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid #333;
}

.amd-soft-single-card-container {
    margin-bottom: 40px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.amd-soft-single-card {
    width: 140px;
    height: 180px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    object-fit: cover;
    object-position: center;
    /* filter: grayscale(100%); */
    border: 3px solid var(--secondary-color);
}

.amd-soft-card-name {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.decorative-symbol {
    font-size: 24px;
    color: #888;
    margin-bottom: 15px;
    font-weight: 300;
}

.amd-soft-single-subtitle {
    font-size: 16px;
    color: #aaa;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.rating {
    font-size: 14px;
    color: #ccc;
    font-weight: 300;
}

.action-button {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-btn);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.action-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.arrow-icon {
    width: 16px;
    height: 16px;
    border: 2px solid #333;
    border-left: none;
    border-bottom: none;
    transform: rotate(45deg);
    margin-left: 2px;
}

/* Class name changed for media query as well */
@media (max-width: 576px) {
    .amd-soft-signle-card {
        width: 100%;
        max-width: 280px;
    }
}

.no-input-text {
    font-size: 14px;
    color: #888;
    font-weight: 300;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 0.5px;
}

.number-input {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--light-bg);
    border: 1px solid #555;
    border-radius: 8px;
    color: var(--nav-bg-scrolled);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    margin-bottom: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.number-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.number-input::placeholder {
    color: #888;
}

/* single card end */

/* Responsive Adjustments */
@media (min-width: 1201px) and (max-width: 1399px) {
    .amd-soft-visit-leadform-section {
        width: 80%;
        max-width: 60rem;
        padding: 2.5rem;
        margin-top: -5rem;
        min-height: 270px;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .navbar .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .amd-soft-visit-hero-section {
        padding: 6rem 0;
        min-height: 400px;
    }

    .amd-soft-visit-hero-section h1 {
        font-size: 2.5rem;
    }

    .amd-soft-visit-leadform-section {
        width: 90%;
        max-width: 50rem;
        padding: 2rem;
        margin-top: -4.5rem;
        min-height: 250px;
    }

    .amd-soft-visit-leadform-section h2 {
        font-size: 1.8rem;
    }

    .amd-soft-visit-leadform-section p.amd-soft-visit-question {
        font-size: 1.2rem;
    }

    .amd-soft-visit-leadform-section .amd-soft-visit-home-type-btn {
        height: 7rem;
        font-size: 0.9rem;
        width: 140px;
    }

    .amd-soft-visit-leadform-section .amd-soft-visit-home-type-btn i {
        font-size: 1.8rem;
    }

    .amd-soft-visit-estimate-text {
        font-size: 0.8rem;
    }

    .amd-soft-visit-features-section {
        margin-top: 2rem;
    }
}

@media (min-width: 601px) and (max-width: 768px) {
    .navbar .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .amd-soft-visit-hero-section {
        padding: 5rem 0;
        min-height: 350px;
    }

    .amd-soft-visit-hero-section h1 {
        font-size: 2.2rem;
    }

    .amd-soft-visit-leadform-section {
        width: 95%;
        padding: 1.5rem;
        margin-top: -4rem;
        min-height: 220px;
    }

    .amd-soft-visit-leadform-section h2 {
        font-size: 1.5rem;
    }

    .amd-soft-visit-leadform-section p.amd-soft-visit-question {
        font-size: 1.1rem;
    }

    .amd-soft-visit-leadform-section .amd-soft-visit-home-type-btn {
        height: 6.5rem;
        font-size: 0.85rem;
        width: 120px;
    }

    .amd-soft-visit-leadform-section .amd-soft-visit-home-type-btn i {
        font-size: 1.5rem;
    }

    .amd-soft-visit-estimate-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 600px) {
    .navbar .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .amd-soft-visit-hero-section {
        padding: 4rem 0;
        min-height: 300px;
    }

    .amd-soft-visit-hero-section h1 {
        font-size: 1.8rem;
    }

    .amd-soft-visit-leadform-section {
        width: 98%;
        padding: 1rem;
        margin-top: -3.5rem;
        min-height: 180px;
    }

    .amd-soft-visit-leadform-section h2 {
        font-size: 1.3rem;
    }

    .amd-soft-visit-leadform-section p.amd-soft-visit-question {
        font-size: 1rem;
    }

    .amd-soft-visit-leadform-section .amd-soft-visit-home-type-btn {
        height: 6rem;
        font-size: 0.75rem;
        width: 110px;
        padding: 0.8rem;
    }

    .amd-soft-visit-leadform-section .amd-soft-visit-home-type-btn i {
        font-size: 1.3rem;
    }

    .amd-soft-visit-estimate-text {
        font-size: 0.7rem;
    }
}



/*  final card styles  */
.amd-soft-final-card {
    /* max-width: 0; */
    margin: 0 auto;
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    font-family: 'Segoe UI', sans-serif;
}

.amd-soft-final-header h6 {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #888;
    text-transform: uppercase;
}

.amd-soft-final-header h2 {
    font-size: 2rem;
    margin-top: 5px;
    color: #111;
}

.payment-card-box {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px;
    background: #f8f8f8;
    margin-top: 16px;
}

.badge {
    font-size: 0.7rem;
    padding: 6px 10px;
    border-radius: 30px;
}

.order-details ul {
    padding: 0;
    list-style: none;
}

.order-details li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
}

.order-details li:last-child {
    border-bottom: none;
}

.order-details span {
    color: #555;
}

.order-details strong {
    font-weight: 500;
    text-align: right;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-dark {
    border-radius: 12px;
    padding: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

/* final card cancle and submit btn */
.amd-soft-split-btn {
    display: flex;
    overflow: hidden;
    border-radius: 8px;
}

.amd-soft-split-btn button {
    flex: 1;
    border: none;
    padding: 12px 0;
    background-color: transparent;
    color: white;
    transition: background-color 0.3s ease;
}

.amd-soft-split-btn .cancel-btn:hover {
    background-color: #dc3545;
    /* red */
}

.amd-soft-split-btn .submit-btn:hover {
    background-color: #198754;
    /* green */
}

.amd-soft-split-btn .disabled {
    pointer-events: none;
    opacity: 0.5;
}



.amc-button {

    cursor: pointer !important;
    padding: 8px 20px;
    border: 2px solid var(--accent-color);
    background: var(--light-bg);
    color: var(--secondary-color);
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: bold;

}

.amc-button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(0.9);
}

.amd-input-text {
    font-weight: 600;
}


.amd-radio-active {
    background: white;
    border: 1px solid black;
    color: black;

}


/* blog css */
/*  blog page css *************************** */


.amd-blog__container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 3rem 1rem;

}

@media (max-width: 1200px) {
    .amd-blog__container {
        max-width: 1140px;
    }
}

@media (max-width: 992px) {
    .amd-blog__container {
        max-width: 960px;
    }
}

@media (max-width: 768px) {
    .amd-blog__container {
        max-width: 960px;
    }
}

@media (max-width: 576px) {
    .amd-blog__container {
        max-width: 960px;
    }
}

/* --- Page Header --- */
.amd-blog__page-header {
    text-align: center;
    padding: 3rem 1rem;
}

.amd-blog__page-title {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.amd-blog__page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--amd-primary);

}

.amd-blog__page-description {
    max-width: 600px;
    margin: 15px auto 0;
    color: var(--amd-primary-lightt);
}

/* --- Featured Section --- */
.amd-blog__featured-grid {
    display: flex;
    gap: 30px;
    padding: 3rem 1rem;
}

.amd-blog__featured-large {
    flex: 2;
    position: relative;

    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

.amd-blog__featured-large-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.amd-blog__featured-large-content h2 {
    font-size: 1.8rem;
    margin: 10px 0;
}

.amd-blog__featured-large-content p {
    opacity: 0.9;
}

.amd-blog__featured-small-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.amd-blog__featured-small-item {
    display: flex;
    gap: 15px;
    background-color: var(--amd-blog-card-bg);
    padding: 15px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.amd-blog__featured-small-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.amd-blog__featured-small-item h3 {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 5px;
}

/* --- Latest Articles Section --- */
.amd-blog__latest-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.amd-blog__latest-header p {
    max-width: 400px;
    color: var(--amd-primary-lightt);
}

.amd-blog__articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- General Article Card Style --- */
.amd-blog__card {
    background-color: var(--amd-blog-card-bg);

    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.amd-blog__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.amd-blog__card-image img {
    width: 100%;
    height: 220px;
    /* aspect-ratio: 23 / 10; */
    background-position: center;
    object-fit: contain;
    display: block;
}

.amd-blog__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.amd-blog__card-title {
    font-size: 1.2rem;
    font-weight: 600;

    flex-grow: 1;
}

/* NEW: Card Footer for Author/Likes */
.amd-blog__card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    border-top: 1px solid var(--amd-text-muted);
    padding-top: 15px;
}

.amd-blog__author {

    display: flex;
    align-items: center;
    gap: 10px;
}

.amd-blog__author-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.amd-blog__author-name {
    margin-left: 10px;
    font-size: 1.2rem;
    font-weight: 500;
}

.amd-blog__post-date {
    font-size: 0.6rem;
    color: var(--amd-primary-lightt);
}

.amd-blog__card-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.amd-blog__likes {
    font-size: 0.9rem;
    color: var(--amd-primary-lightt);
}

.amd-blog__likes i {
    margin-right: 5px;
    color: #ff6b6b;
}

.amd-blog__meta {
    font-size: 0.7rem;
    color: var(--amd-primary-lightt);
}

.amd-blog__meta i {
    margin-right: 5px;
}

.amd-blog__read-more {
    font-weight: 500;
    color: var(--amd-seconday-text);
    text-decoration: none;
}

/* --- Footer Button --- */
.amd-blog__footer {
    text-align: center;
    margin-top: 50px;
}


/* Mobile view me horizontal scroll enable karein */
@media (max-width: 768px) {
    .amd-blog__featured-small-list {
        flex-direction: row !important;
        /* column ki jagah row */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        /* smooth iOS scroll */
        gap: 15px;
        /* thoda gap */
        padding-bottom: 10px;
        /* niche thoda space */
    }

    .amd-blog__featured-small-item {
        flex: 0 0 auto;
        /* shrink na ho */
        min-width: 250px;
        /* fixed width */
    }
}

@media (max-width: 992px) {
    .amd-blog__featured-grid {
        flex-direction: row;
    }


}

@media (max-width: 890px) {
    .amd-blog__featured-grid {
        flex-direction: column;
    }

    .amd-blog__articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {
    .amd-blog__articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .amd-blog__featured-small-item {
        flex-direction: column;
    }

    .amd-blog__card-title {
        font-size: 0.9rem;
    }

    .amd-blog__featured-small-item img {
        width: 100%;
        height: 120px;
    }


}

@media (max-width: 456px) {
    .amd-blog__articles-grid {
        grid-template-columns: 1fr;
    }

    .amd-blog__featured-small-item {
        flex-direction: column;
    }

    .amd-blog__featured-small-item img {
        width: 100%;
        height: 120px;
    }

    .amd-blog__page-title {
        font-size: 2rem;
    }
}

/* blog page css end *************************** */


/* testomonial */
.amd-testimonials-section {
    font-family: "Inter", sans-serif;
    background-color: var(--bg-color);
    padding: 5rem 1rem;
}

.amd-container {
    max-width: 1140px;
    margin: 0 auto;
}

.amd-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.amd-section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.amd-section-header p {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto;
}

.amd-testimonials-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 20px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .amd-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .amd-testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card Styling */
.amd-testimonial-card {
    background-color: var(--bg-color);
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.amd-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
}

/* Top content */
.amd-card-body {
    background-color: var(--card-bg);
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.amd-star-rating {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.amd-quote-icon {
    width: 40px;
    height: 40px;
    background-color: var(--quote-icon-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--quote-icon-color);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.amd-testimonial-text {
    color: var(--text-dark);
    line-height: 1.7;
    flex-grow: 1;
}

.amd-testimonial-text .amd-highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* Bottom author block */
.amd-author-info {
    background-color: var(--card-bg);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
}

.amd-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.amd-author-name {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.amd-author-username {
    font-size: 0.875rem;
    color: var(--secondary-color);
}

/* Swiper styles */
.amd-testimonials-swiper .swiper-slide {
    height: auto;
}

.amd-testimonials-swiper .swiper-pagination {
    position: static;
    margin-top: 2rem;
}

.amd-testimonials-swiper .swiper-pagination-bullet {
    background-color: var(--quote-icon-color);
}

.amd-testimonials-swiper .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}



.amd-soft-hero-section {
    height: 41vh;
    /* Adjust this value to change the height */
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    /* Assuming your text needs to be white for contrast */
    display: flex;
    align-items: center;
    justify-content: center;
}

.amd-service-page .display-3,
.amd-service-page p {
    color: var(--white) !important;
    background: #8e8e8e30;
}


/* Modern Footer Styles */
.modern-footer {
    background: white;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.footer-top {
    padding: 60px 0 40px 0;
    position: relative;
}

.footer-bottom {
    background-color: #f8f9fa;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    text-align: center;
    color: #718096;
    font-size: 14px;
}

.footer-bottom a {
    color: #667eea;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-bottom .divider {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin: 0 auto 15px auto;
    border-radius: 1px;
}

/* Logo Section */
.logo-section {
    padding: 60px 0 0 0;
}

.company-logo-container {
    margin-bottom: 20px;
}

.company-logo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
    padding: 10px;
    position: relative;
    overflow: hidden;
}

.company-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    border-radius: 15px;
    margin: 8px;
    z-index: 1;
}

.company-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.company-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    background: white;
    padding: 8px;
}

.company-logo .logo-text {
    font-size: 28px;
    font-weight: 700;
    color: white;
    letter-spacing: -1px;
    position: relative;
    z-index: 2;
}

/* Alternative logo styles for different use cases */
.company-logo.logo-square {
    border-radius: 15px;
}

.company-logo.logo-circle {
    border-radius: 50%;
}

.company-logo.logo-minimal {
    background: white;
    border: 2px solid #e2e8f0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.company-logo.logo-minimal::before {
    display: none;
}

.company-logo.logo-minimal .company-logo-img {
    padding: 15px;
}

.company-logo.logo-minimal:hover {
    border-color: #667eea;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

.company-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.company-tagline {
    color: #718096;
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Section Headers */
.modern-footer h5 {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.modern-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 1px;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 0;
    transition: padding-left 0.3s ease;
}

.footer-links li:hover {
    padding-left: 10px;
}

.footer-links li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.footer-links li:hover::before {
    width: 6px;
}

.footer-links li a {
    color: #718096;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links li a:hover {
    color: #667eea;
    text-decoration: none;
}

/* Social Links */
.social-links a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #f7fafc;
    color: #718096;
    text-align: center;
    line-height: 50px;
    border-radius: 12px;
    margin: 0 8px;
    transition: all 0.4s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: left 0.4s ease;
    z-index: 0;
}

.social-links a:hover::before {
    left: 0;
}

.social-links a i {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Contact Info */
.contact-info {
    color: #718096;
}

.contact-info p {
    margin-bottom: 15px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    color: #667eea;
    margin-right: 12px;
    width: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-info a {
    color: #718096;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #667eea;
    text-decoration: none;
}

/* Contact Cards */
.contact-card {
    background: #f7fafc;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    color: white;
}

.newsletter-section h4 {
    margin-bottom: 10px;
    font-weight: 600;
}

.newsletter-section p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    padding: 5px;
}

.newsletter-form input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    outline: none;
    font-size: 14px;
}

.newsletter-form button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
        background: transparent;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        margin-bottom: 10px;
    }

    .social-links a {
        margin: 5px;
    }

    .company-logo {
        width: 80px;
        height: 80px;
    }

    .company-logo .logo-text {
        font-size: 22px;
    }

    .company-name {
        font-size: 1.5rem;
    }
}

/* Additional Logo Utility Classes */
.logo-small .company-logo {
    width: 60px;
    height: 60px;
}

.logo-large .company-logo {
    width: 150px;
    height: 150px;
}

.logo-transparent {
    background: transparent !important;
    box-shadow: none !important;
}

.logo-transparent::before {
    display: none !important;
}

.logo-with-border {
    border: 3px solid white;
}


/* Google Map Container Styles */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Add a subtle overlay effect on hover */
.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
    transition: background 0.3s ease;
    z-index: 1;
    border-radius: 15px;
}

.map-container:hover::before {
    background: rgba(102, 126, 234, 0.02);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .map-container {
        height: 300px;
        border-radius: 12px;
    }
}

@media (max-width: 576px) {
    .map-container {
        height: 250px;
        border-radius: 10px;
    }
}

/* Main Content Area */
main.summer-content {
    /* padding: 67px 138px; */
                padding: 67px 138px 40px 138px;
    position: relative;
    width: 100%;
    /* min-height: calc(100vh - 80px); */
    min-height: auto;
    margin: 0;
}

main.summer-content::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 138px;
    width: 4px;
    height: 40px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    border-radius: 2px;
}

/* Content Container - CENTERED */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    width: 100%;
}

.content-text {
    width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    text-align: left;
    display: block;
}

/* Summernote Content Styling */
.content-text h1,
.content-text h2,
.content-text h3,
.content-text h4,
.content-text h5,
.content-text h6 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
    margin-left: 0;
    margin-right: 0;
    font-weight: 600;
    line-height: 1.4;
    width: 100%;
}

.content-text h1 {
    font-size: 2rem;
    border-bottom: 3px solid #667eea;
    padding-bottom: 15px;
}

.content-text h2 {
    font-size: 1.75rem;
}

.content-text h3 {
    font-size: 1.5rem;
}

.content-text p {
    margin-bottom: 15px;
    margin-top: 15px;
    line-height: 1.8;
    color: #555;
    width: 100%;
}

.content-text ul,
.content-text ol {
    margin-left: 25px;
    margin-bottom: 15px;
    width: 100%;
}

.content-text li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.content-text img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 25px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.content-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.content-text table th {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.content-text table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.content-text table tr:hover {
    background-color: #f5f5f5;
}

.content-text blockquote {
    border-left: 4px solid #667eea;
    padding-left: 20px;
    margin: 20px 0;
    color: #666;
    font-style: italic;
}

.content-text a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-text a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.content-text code {
    background: #f4f4f4;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #d63384;
}

.content-text pre {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 15px 0;
    width: 100%;
}

.content-text pre code {
    background: transparent;
    color: #ecf0f1;
    padding: 0;
}

.content-text iframe,
.content-text video {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
}

.content-text strong,
.content-text b {
    color: #2c3e50;
    font-weight: 600;
}

/* Footer Fixes */
.modern-footer {
    background: white;
    position: relative;
    overflow: visible;
    width: 100%;
    margin: 0;
    margin-top: 60px;
}

.modern-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    main.summer-content {
        padding: 30px 20px;
        min-height: auto;
    }

    main.summer-content::before {
        left: 20px;
    }

    .content-wrapper {
        padding: 30px 20px;
        margin: 0;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .page-header {
        padding: 60px 20px;
        padding-top: 120px;
    }

    .content-text h1 {
        font-size: 1.5rem;
    }

    .content-text h2 {
        font-size: 1.25rem;
    }

    .content-text h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    main.summer-content {
        padding: 30px 15px;
    }

    .content-wrapper {
        padding: 20px 15px;
    }
}
