.services-area {
    padding: 40px 0;
    position: relative;
    color: #fff;
    width: 88%;
    margin: auto;
}

/* Header Navigation */
.services-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-sub {
    font-size: 14px;
    color: #ccc;
    letter-spacing: 2px;
}

.option {
    font-size: 14px;
    color: #999;
}

.services-tabs {
    display: flex;
    gap: 15px;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.07);
    /* translucent glass base */
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 14px;
    padding: 2px 45px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.05), 0 0 10px rgba(0, 0, 0, 0.2);
}

.tab-btn.active,
.tab-btn:hover {
    background: linear-gradient(90deg, #f7931e, #fbbc05);
    color: #ffffff;
    font-weight: 400;
}

/* Heading */
.services-heading {
    text-align: left;
    margin-bottom: 40px;
}

.services-heading h2 {
    font-size: 40px;
    color: #fff;
    font-weight: 600;
}

.services-heading h2 span {
    color: #f7931e;
    text-shadow: 0 0 8px #f7931e, 0 0 12px rgba(255, 255, 255, 0.4);
}

.services-heading p {
    color: #bdbdbd;
    font-size: 15px;
    max-width: 750px;
    margin-top: 10px;
    line-height: 1.6;
}

.section-sub {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0;
}

/* ----------------------------- */
/* Mobile Responsiveness Section */
/* ----------------------------- */

@media (max-width: 768px) {

    /* Stack the header vertically */
    .services-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    /* Subheading spacing */
    .section-sub {
        font-size: 16px;
        align-self: center;
        font-weight: 700;
    }

    /* Tabs: allow wrapping & full width buttons */
    .services-tabs {
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
    }

    .tab-btn {
        flex: 1 1 calc(50% - 10px);
        /* two per row */
        padding: 2px 10px;
        font-size: 13px;
        text-align: center;
    }

    /* Heading */
    .services-heading {
        text-align: center;
    }

    .services-heading h2 {
        font-size: 28px;
        line-height: 1.3;
    }

    .services-heading p {
        font-size: 14px;
        max-width: 100%;
        line-height: 1.5;
        margin-top: 8px;
        padding: 0 10px;
    }
}

/* ----------------------------- */
/* Extra Small Devices (Phones ≤480px) */
/* ----------------------------- */
@media (max-width: 480px) {
    .tab-btn {
        flex: 1 1 100%;
        padding: 0px;
        font-size: 12px;
    }

    .services-heading h2 {
        font-size: 24px;
    }

    .section-sub {
        font-size: 16px;
        align-self: center;
        font-weight: 700;
    }
}

/* Glassmorphism Container */
.services-wrapper {
    background: #F8F8FF1F;
    border-radius: 20px;
    /* border: 0.5px solid #fff; */
    padding: 30px;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .services-wrapper {
        padding: 10px;
    }
}

/* .all-services {
    display: flex;
    flex-direction: column;
    gap: 30px;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #fff;
} */

/* Individual Service */
.service-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border: 1px solid #fff;
    padding: 40px 0;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 15px;
}

.service-box:last-child {
    /* border-bottom: none; */
}

.service-box.reverse {
    flex-direction: row-reverse;
}

.text-content h3 {
    color: #f7931e;
    font-size: 26px;
    /* font-weight: 600; */
    margin-bottom: 15px;
}

.text-content p {
    color: #c5c5c5;
    line-height: 1.6;
    font-size: 15px;
}

.learn-more {
    display: inline-block;
    margin-top: 20px;
    color: #f7931e;
    font-size: 14px;
    border: 1px solid #f7931e;
    padding: 2px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.learn-more:hover {
    background: #f7931e;
    color: #000;
}

.image-content img {
    border-radius: 10px;
    width: 100%;
    transition: transform 0.3s ease;
}

.service-box:hover img {
    transform: scale(1.05);
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {

    .service-box,
    .service-box.reverse {
        flex-direction: column;
        text-align: center;
    }

    .image-content img {
        max-width: 100%;
    }
}

/*********************** Desing Service  */

.design-services-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.design-section {
    border: 1px solid #fff;
    border-radius: 15px;
    padding: 20px 20px;
}

/* Header */
.design-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.design-header h2 {
    color: #f7931e;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 15px;
}

.design-header p {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
    max-width: 900px;
    font-weight: 600;
}

/* Sections */
.section-title {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 25px;
}

/* Logos */
.company-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.logo-marquee {
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 0;
    background: transparent;
}

.marquee-track {
    display: flex;
    gap: 24px;
    align-items: center;
    /* duplicate content will allow seamless loop when we translate -50% */
    width: max-content;
    animation: marquee 18s linear infinite;
}

.company-logo-box {
    flex: 0 0 auto;
}

.company-logo-box img {
    display: block;
    height: 160px;
    width: auto;
}

/* pause on hover */
.logo-marquee:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* move left half (because we duplicate) */
}

/* small-screen adjustments */
@media (max-width: 480px) {
    .company-logo-box img {
        height: 60px;
    }

    .marquee-track {
        gap: 14px;
    }

    .logo-marquee {
        padding: 8px 0;
    }
}

/* Concepts */
.concepts-showcase {
    /* background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px; */
    /* display: grid;
    grid-template-columns: 300px 1fr; */
    gap: 30px;
    margin-top: 40px;
    display: grid;
    /* align-items: center; */
    justify-content: space-between;
    grid-template-columns: 550px 1fr;
}

.concepts-text h3 {
    color: #f7931e;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
}

.concepts-text p {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
}

.concepts-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.concept-item img {
    width: 100%;
    border-radius: 8px;
}

.concepts-display {
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 20px; */
}

.concepts-gif {
    max-width: 100%;
    /* adjust as needed */
    height: auto;
    border-radius: 10px;
}

/* ----------------------------- */
/* Mobile Responsiveness Section */
/* ----------------------------- */

@media (max-width: 1024px) {

    /* Header stacks vertically */
    .design-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .design-header h2 {
        font-size: 28px;
    }

    .design-header p {
        font-size: 14px;
        max-width: 100%;
    }

    /* Logo marquee adjustments */
    .company-logo-box img {
        height: 120px;
        /* smaller than desktop */
    }

    .marquee-track {
        gap: 18px;
    }
}

@media (max-width: 768px) {

    /* Concepts section stacks vertically */
    .concepts-showcase {
        grid-template-columns: 1fr;
        /* single column */
        gap: 25px;
    }

    .concepts-display {
        justify-content: center;
    }

    .concepts-text h3 {
        font-size: 24px;
    }

    .concepts-text p {
        font-size: 13px;
    }

    .concepts-gif {
        max-width: 90%;
        height: auto;
    }

    /* Logo marquee further reduced */
    .company-logo-box img {
        height: 100px;
    }
}

@media (max-width: 480px) {

    /* Design header text smaller */
    .design-header h2 {
        font-size: 22px;
    }

    .design-header p {
        font-size: 13px;
        line-height: 1.5;
    }

    /* Logo marquee mobile-friendly */
    .company-logo-box img {
        height: 60px;
    }

    .marquee-track {
        gap: 12px;
    }

    .logo-marquee {
        padding: 6px 0;
    }

    /* Concepts section */
    .concepts-text h3 {
        font-size: 20px;
    }

    .concepts-text p {
        font-size: 12px;
    }

    .concepts-gif {
        max-width: 100%;
        height: auto;
    }

    /* Concepts display flex adjustment for single column */
    .concepts-display {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}



/* Templagtes Section */
.templates-section {
    max-width: 100%;
    margin: 0 auto;
    border: 1px solid #fff;
    border-radius: 15px;
    padding: 20px 20px;
}

.templates-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


.templates-header h3 {
    color: #f7931e;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
}

.templates-header p {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
}

.templates-carousel-wrapper {
    position: relative;
    padding: 40px 0;
}

.templates-carousel {
    margin: 0 auto;
}

.template-slide {
    padding: 0;
    outline: none;
}

.template-card {
    position: relative;
    transition: all 0.4s ease;
    transform: scale(0.85);
    opacity: 0.5;
    margin: 0 !important;
    width: 100%;
    height: 100%;
}

.template-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    /* border-radius: 12px; */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); */
    /* transition: all 0.4s ease; */
}

.slick-center .template-card {
    transform: scale(1);
    opacity: 1;
    z-index: 10;
    margin: 0 !important;
    padding: 0 !important;

}

.slick-center .template-card img {
    box-shadow: 0 20px 60px rgba(247, 147, 30, 0.5);
    margin: 0 !important;
}

/* Slick Arrows */
.slick-prev,
.slick-next {
    width: 50px;
    height: 50px;
    z-index: 100;
}

.slick-prev:before,
.slick-next:before {
    font-size: 40px;
    color: #f7931e;
    opacity: 0.7;
}

.slick-prev:hover:before,
.slick-next:hover:before {
    opacity: 1;
}

.slick-prev {
    left: -60px;
}

.slick-next {
    right: -60px;
}

/* Slick Dots */
.slick-dots {
    bottom: -40px;
}

.slick-dots li button:before {
    font-size: 12px;
    color: #f7931e;
    opacity: 0.5;
}

.slick-dots li.slick-active button:before {
    opacity: 1;
    color: #f7931e;
}

/* ----------------------------- */
/* Templates Section Responsiveness */
/* ----------------------------- */

/* Tablet: max-width 1024px */
@media (max-width: 1024px) {

    .templates-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 0 !important;
    }

    .templates-header h3 {
        font-size: 24px;
    }

    .templates-header p {
        font-size: 14px;
        max-width: 100%;
    }

    .template-card img {
        height: 350px;
        /* reduce image height for tablet */
    }

    .slick-prev {
        left: -40px;
    }

    .slick-next {
        right: -40px;
    }
}

/* Small Tablets / Mobile: max-width 768px */
@media (max-width: 768px) {
    .templates-section {
        height: 80vh !important;
    }

    .templates-header h3 {
        font-size: 20px;
        text-align: center;
        width: 100%;
        margin-bottom: 10px !important;
    }

    .templates-header p {
        font-size: 13px;
        text-align: center;
        line-height: 1.5;
    }

    .templates-carousel-wrapper {
        padding: 20px 0;
        height: 320px !important;
    }

    .template-card img {
        height: 100% !important;
        /* smaller mobile card height */
    }

    /* Slick Arrows smaller & closer */
    .slick-prev,
    .slick-next {
        width: 35px;
        height: 35px;
    }

    .slick-prev:before,
    .slick-next:before {
        font-size: 28px;
    }

    .slick-prev {
        left: -25px;
    }

    .slick-next {
        right: -25px;
    }

    /* Slick Dots spacing */
    .slick-dots {
        bottom: -30px;
    }
}

/* Mobile Phones: max-width 480px */
@media (max-width: 480px) {

    .templates-header h3 {
        font-size: 18px;
    }

    .templates-header p {
        font-size: 12px;
    }

    .template-card img {
        height: 150px;
        /* smaller for small screens */
    }

    /* Slick Arrows minimal & overlapping less */
    .slick-prev,
    .slick-next {
        width: 30px;
        height: 30px;
    }

    .slick-prev:before,
    .slick-next:before {
        font-size: 24px;
    }

    .slick-prev {
        left: -20px;
    }

    .slick-next {
        right: -20px;
    }
}


/*********************************** Branding Services  */

.branding-section {
    /* max-width: 1400px; */
    margin: 0 auto;
    border: 1px solid #fff;
    border-radius: 15px;
    padding: 20px 20px;
}

.templates-header {
    /* background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px 30px; */
    margin-bottom: 40px;
}

.templates-header h3 {
    color: #f7931e;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
}

.templates-header p {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
}

.branding-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}


.branding-card {
    /* background: rgba(0, 0, 0, 0.3); */
    border: 1px solid #fff;
    border-radius: 15px;
    padding: 10px;
    overflow: hidden;
}

.branding-card>h4 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Brochure Designs - Vertical Carousel */
.brochure-carousel-wrapper {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.brochure-carousel .branding-display {
    padding: 10px;
}

.brochure-carousel .branding-display img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
}

.brand-guideline-wrapper {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.brand-guideline-carousel .carousel-slide img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
}

/* Creative Design - Vertical Up to Down */
.creative-design-wrapper {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.creative-design-carousel .branding-display {
    padding: 10px;
}

.creative-design-carousel .branding-display img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
}

.branding-display {
    outline: none;
}

.brand-guideline-wrapper,
.creative-design-wrapper,
.brochure-carousel-wrapper {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.brochure-carousel .carousel-slide img,
.brand-guideline-carousel .carousel-slide img,
.creative-design-carousel .carousel-slide img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    border-radius: 10px;
}

/* ----------------------------- */
/* Branding Section Responsiveness */
/* ----------------------------- */

/* Tablet: max-width 1200px */
@media (max-width: 1200px) {
    .branding-grid {
        grid-template-columns: 1fr;
        /* stack cards vertically */
        gap: 25px;
    }

    .brochure-carousel-wrapper,
    .brand-guideline-wrapper,
    .creative-design-wrapper {
        height: 400px;
    }

    .templates-header h3 {
        font-size: 24px;
    }

    .templates-header p {
        font-size: 14px;
    }

    .branding-card h4 {
        font-size: 24px;
    }

    .brochure-carousel .carousel-slide img,
    .creative-design-carousel .carousel-slide img,
    .brand-guideline-carousel .carousel-slide img {
        height: 400px;
    }
}

/* Tablet/Mobile: max-width 768px */
@media (max-width: 768px) {
    .templates-header h3 {
        font-size: 22px;
        text-align: center;
        width: 100%;
    }

    .templates-header p {
        font-size: 12px;
        text-align: center;
        line-height: 1.5;
    }

    .brochure-carousel-wrapper,
    .brand-guideline-wrapper,
    .creative-design-wrapper {
        height: 250px;
        /* smaller carousel for mobile */
    }

    .branding-card h4 {
        font-size: 20px;
        text-align: center;
    }

    .brochure-carousel .carousel-slide img,
    .creative-design-carousel .carousel-slide img,
    .brand-guideline-carousel .carousel-slide img {
        height: 100%;
        /* responsive images */
    }

    .branding-card {
        padding: 8px;
        height: 100%;
    }
}

/* Small Phones: max-width 480px */
@media (max-width: 480px) {
    .templates-header h3 {
        font-size: 18px;
    }

    .templates-header p {
        font-size: 12px;
        padding: 0 10px;
    }

    .branding-card h4 {
        font-size: 16px;
        margin-top: 2px;
        margin-bottom: 6px;
    }

    .brochure-carousel-wrapper,
    .brand-guideline-wrapper,
    .creative-design-wrapper {
        height: 100%;
        /* mobile-friendly carousel height */
    }

    .brochure-carousel .carousel-slide img,
    .creative-design-carousel .carousel-slide img,
    .brand-guideline-carousel .carousel-slide img {
        height: 100%;
        /* mobile image size */
        object-fit: cover;
    }

    .branding-grid {
        gap: 15px;
    }

    .branding-card {
        padding: 5px;
    }
}

/* ----------------------------- */
/* Visiting Cards Section */
/* ----------------------------- */
.visiting-cards-section {
    padding: 40px 20px;
    border: 1px solid #fff;
    border-radius: 15px;
    background: transparent;
    /* optional */
}

.section-title {
    text-align: left;
    font-size: 26px;
    color: #fff;
    margin-bottom: 25px;
}

/* Container */
.visiting-cards-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    /* flex-wrap: wrap; */
}

/* Left Cards */
.left-cards {
    position: relative;
    width: 360px;
    max-width: 100%;
}

.left-cards img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

/* Overlapping effect */
.left-cards .back-card {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1;
    opacity: 0.9;
}

.left-cards .front-card {
    position: relative;
    z-index: 2;
}

/* Right Card */
.right-card img {
    width: 560px;
    max-width: 100%;
    border-radius: 10px;
    display: block;
}

/* ----------------------------- */
/* Tablet: max-width 992px */
/* ----------------------------- */
@media (max-width: 992px) {
    .visiting-cards-container {
        /* flex-direction: column; */
        gap: 30px;
    }

    .left-cards,
    .right-card img {
        width: 100%;
    }

    .left-cards .back-card {
        top: 10px;
        left: 10px;
    }

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

/* ----------------------------- */
/* Mobile: max-width 480px */
/* ----------------------------- */
@media (max-width: 480px) {
    .left-cards .back-card {
        top: 5px;
        left: 5px;
    }

    .visiting-cards-container {
        gap: 20px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .left-cards img,
    .right-card img {
        height: auto;
    }
}


/* ********************* Brand Services  */
.brand-section {
    color: #fff;
    display: flex;
    justify-content: center;
    /* max-width: 1400px; */
    margin: 0 auto;
}

.brand-container {
    width: 100%;
    /* padding: 0 20px; */
}

.brand-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 25px; */
    gap: 20px;
}

.brand-title {
    font-size: 2rem;
    font-weight: 600;
    color: #ff7a00 !important;
    flex: 1;
    margin: 0;
    min-width: 250px;
}

.brand-subtitle {
    flex: 2;
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
    min-width: 300px;
}

.brand-content {
    margin-top: 0;
    border: 1px solid #fff;
    border-radius: 15px;
    padding: 20px;
}

.brand-highlight {
    font-size: 26px;
    font-weight: 600;
    color: #ff7a00 !important;
    margin-bottom: 20px;
}

.brand-paragraph {
    font-size: 14px;
    line-height: 1.7;
    color: #ddd;
    /* margin-bottom: 15px; */
}

.brand-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-top: 50px; */
    gap: 40px;
}

.brand-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    min-width: 250px;
}

.brand-item {
    background: #0046c2;
    color: #fff;
    font-size: 0.9rem;
    padding: 5px 18px;
    border-radius: 4px;
    font-weight: 500;
    width: fit-content;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.brand-item:hover {
    background: #0058ff;
}

/* ===== Vertical Carousel Styling ===== */
.brand-case-carousel {
    flex: 1.2;
    max-width: 400px;
    height: 450px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-case {
    text-align: center;
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
    outline: none;
    height: 450px !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.brand-case-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.brand-case-text {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.brand-case-logo {
    width: 140px;
    height: auto;
    margin-top: 10px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.brand-case-logo:hover {
    opacity: 1;
}

/* Slick Carousel Overrides */
.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    user-select: none;
    height: 450px;
}

.slick-list {
    position: relative;
    overflow: hidden !important;
    display: block;
    margin: 0;
    padding: 0;
    height: 450px !important;
}

.slick-track {
    position: relative;
    left: 0;
    top: 0;
    display: block;
}

.slick-slide {
    float: left;
    height: 450px !important;
    min-height: 450px;
    display: none;
}

.slick-slide.slick-active {
    display: block;
}

.slick-vertical .slick-slide {
    display: block;
    /* height: 400px !important; */
    border: none;
}

.slick-slide>div {
    height: 450px;
}

/* Remove default Slick styling */
.slick-dots,
.slick-arrow {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .brand-grid {
        flex-direction: column;
        align-items: center;
    }

    .brand-case-carousel {
        max-width: 100%;
        width: 100%;
    }

    .brand-list {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .brand-section {
        padding: 10px;
    }

    .brand-title {
        font-size: 1.5rem;
    }

    .brand-highlight {
        font-size: 1.2rem;
    }

    .brand-case-carousel {
        min-height: 350px;
    }
}

/*************************************************** Digital Marketing  ********************/
.digital-marketing-wrapper {
    color: #fff;
}

.digital-marketing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 20px; */
}

.dm-heading {
    font-size: 32px;
    color: #ff7a00 !important;
    font-weight: 700;
}

.dm-subtext {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    text-align: right;
    font-size: 14px;
    color: #cfcfcf;
    line-height: 1.6;
    margin-bottom: 0;
}

.digital-marketing-content {
    margin-top: 30px;
}

.digital-marketing-inner {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 30px;
}

.dm-subheading {
    color: #f58220 !important;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.dm-description {
    color: #ccc;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.dm-services-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.dm-services-left ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dm-service-item {
    background: #0036b1;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dm-service-item:hover {
    background: #0051ff;
}

.dm-services-right {
    flex: 1;
    min-width: 300px;
}

.dm-card {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.dm-card-title {
    font-size: 15px;
    color: #f58220 !important;
    font-weight: 600;
    margin-bottom: 10px;
}

.dm-card-text {
    color: #ccc;
    font-size: 13px;
    line-height: 1.8;
    flex: 1;
    min-width: 200px;
}

.dm-card-image {
    width: 250px;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dm-service-item.active {
    background: #0051ff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

/* === Animation for right-side card (slide-up effect like vertical carousel) === */
.dm-card {
    opacity: 0;
    transform: translateY(50px);
    /* start lower */
}

.dm-card.show {
    animation: slideUpAppear 0.7s ease-out forwards;
}

/* Keyframes for bottom-to-top slide and stay */
@keyframes slideUpAppear {
    0% {
        opacity: 0;
        transform: translateY(100px);
        /* Start from bottom */
    }

    60% {
        opacity: 1;
        transform: translateY(-10px);
        /* slight overshoot for smooth effect */
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        /* final stable position */
    }
}

/* ----------------------------- */
/* Digital Marketing Responsive */
/* ----------------------------- */

/* Tablet: max-width 1024px */
@media (max-width: 1024px) {
    .digital-marketing-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dm-subtext {
        text-align: left;
        margin-top: 15px;
    }

    .dm-services-container {
        flex-direction: column;
        gap: 20px;
    }

    .dm-services-right {
        width: 100%;
    }

    .dm-card {
        width: 100%;
        gap: 10px;
    }
}

/* Mobile: max-width 768px */
@media (max-width: 768px) {
    .digital-marketing-wrapper {
        padding: 10px;
    }

    .digital-marketing-inner {
        padding: 20px;
    }

    .dm-heading {
        font-size: 26px;
    }

    .dm-subtext {
        font-size: 13px;
    }

    .dm-subheading {
        font-size: 16px;
    }

    .dm-description {
        font-size: 12px;
    }

    .dm-service-item {
        font-size: 12px;
        padding: 8px 15px;
    }

    .dm-card-title {
        font-size: 14px;
    }

    .dm-card-text {
        font-size: 12px;
    }

    .dm-card-image {
        width: 100%;
        height: auto;
    }
}

/* Small Mobile: max-width 480px */
@media (max-width: 480px) {
    .dm-heading {
        font-size: 22px;
    }

    .dm-subtext {
        font-size: 12px;
    }

    .dm-subheading {
        font-size: 14px;
    }

    .dm-description {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .dm-services-container {
        gap: 15px;
    }

    .dm-service-item {
        font-size: 11px;
        padding: 6px 12px;
    }

    .dm-card-title {
        font-size: 14px;
        margin-bottom: 0px;
    }

    .dm-card-text {
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 0px;
    }
}



/****************************** Web Development  */

.webdev-section {
    color: #fff;
    /* max-width: 1400px; */
    margin: 0 auto;
    /* padding: 40px 20px; */
}

.webdev-header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    /* margin-bottom: 40px; */
    gap: 30px;
}

.webdev-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff7a00 !important;
    letter-spacing: 1px;
    margin: 0;
    flex: 1;
}

.webdev-top-desc {
    font-size: 14px;
    color: #e8e8e8;
    width: 49%;
    text-align: right;
    font-weight: 400;
    line-height: 1.6;
}

.webdev-content {
    display: flex;
    flex-direction: row;
    gap: 32px;
    padding-left: 30px;
    padding-right: 30px;
    border: 1px solid #fff;
    border-radius: 15px;
}

.webdev-info {
    flex: 1.1;
    /* background: rgba(41, 42, 50, 0.26);
    border-radius: 18px;
    padding: 35px 30px;
    border: 1px solid #343648; */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.webdev-highlight {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ff8c2d;
    margin-bottom: 13px;
}

.webdev-desc {
    font-size: 14px;
    color: #e6e6e6;
    margin-bottom: 13px;
    font-weight: 410;
    line-height: 1.6;
}

.webdev-link {
    font-size: 0.98rem;
    color: #ff8c2d;
    text-decoration: none;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.webdev-link:hover {
    color: #ffa347;
}

.webdev-link::after {
    content: '→';
    font-size: 1.2rem;
}

.webdev-showcase {
    flex: 1.1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.webdev-client-title {
    font-size: 1.1rem;
    color: #ff7a00 !important;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
}

/* Laptop Mockup Frame */
.laptop-mockup {
    position: relative;
    width: 100%;
    max-width: 580px;
}

.laptop-screen {
    position: relative;
    width: 100%;
    background: #e8e8e8;
    border-radius: 8px 8px 0 0;
    border: 12px solid #d4d4d4;
    border-bottom: none;
    overflow: hidden;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.laptop-screen::before {
    content: '';
    display: block;
    padding-top: 62.5%;
    /* 16:10 aspect ratio */
}

.screen-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
}

.screen-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.screen-content img.active {
    opacity: 1;
}

/* Laptop Base */
.laptop-base {
    width: 100%;
    height: 20px;
    background: linear-gradient(180deg, #e0e0e0 0%, #c0c0c0 100%);
    border-radius: 0 0 4px 4px;
    position: relative;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}

.laptop-base::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 4px;
    background: #a8a8a8;
    border-radius: 2px;
}

/* Laptop Bottom/Stand */
.laptop-bottom {
    width: 110%;
    height: 8px;
    background: linear-gradient(180deg, #b8b8b8 0%, #989898 100%);
    border-radius: 0 0 12px 12px;
    margin: 0 auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* ----------------------------- */
/* Responsive Design */
/* ----------------------------- */
@media (max-width: 1024px) {
    .webdev-content {
        flex-direction: column;
        padding: 20px;
    }

    .webdev-header {
        flex-direction: column;
    }

    .webdev-top-desc {
        width: 100%;
        text-align: left;
        margin-top: 15px;
    }

    .webdev-client-title {
        text-align: center;
    }

    .webdev-showcase {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .webdev-section {
        padding: 10px;
    }

    .webdev-title {
        font-size: 2rem;
        text-align: center;
    }

    .webdev-header {
        gap: 10px;
    }

    .webdev-top-desc {
        font-size: 13px;
    }

    .laptop-mockup {
        max-width: 100%;
    }

    .webdev-info {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .webdev-title {
        font-size: 1.5rem;
    }

    .webdev-top-desc {
        font-size: 12px;
    }

    .webdev-highlight {
        font-size: 1rem;
    }

    .webdev-desc {
        font-size: 12px;
    }

    .webdev-link {
        font-size: 0.9rem;
    }

    .laptop-mockup {
        max-width: 100%;
    }
}
