/* ---------------------------mobile-menu---------------------------- */
#mobileNav {
    background-color: #212529;
    /* Dark background */
    color: #f8f9fa;
}

#mobileNav .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#mobileNav .btn-close {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
}

/* Style for main navigation links */
#mobileNav .nav-link {
    color: #f8f9fa;
    padding: 12px 15px;
    /* Added more padding for better spacing */
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle separator */
}

#mobileNav .nav-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
}

/* === CSS FOR THE COLLAPSIBLE SUBMENU === */

/* Style for the sub-menu links (indented) */
#mobileNav ul#pagesSubmenu .sub-link {
    padding-left: 35px;
    /* Indent the sub-menu items */
    font-size: 1rem;
    /* Slightly smaller font size */
    color: #ced4da;
    /* Slightly dimmer color */
    border-bottom: none;
    /* No separator for sub-items */
}

#mobileNav ul#pagesSubmenu .sub-link:hover {
    color: #fff;
}

/* Add a '+' icon to the collapsible link */
#mobileNav a[data-bs-toggle="collapse"] {
    position: relative;
}

#mobileNav a[data-bs-toggle="collapse"]::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: bold;
    transition: transform 0.2s ease-in-out;
}

/* Change the icon to '-' when the menu is open (not collapsed) */
#mobileNav a[data-bs-toggle="collapse"]:not(.collapsed)::after {
    content: '−';
    /* A proper minus sign */
    transform: translateY(-50%) rotate(180deg);
}

/* Remove default list styling */
#mobileNav .list-unstyled {
    padding-left: 0;
    list-style: none;
}

/*slider----------------------------------*/
.hero-section {
    position: relative;
}

.hero-single {
    height: 600px;
    /* adjust for your design */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    padding-left: 50px;
    /* spacing for text */
}

.hero-single::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 20px;
    text-transform: uppercase;
    line-height: 28px;
}

.hero-slider.owl-theme .owl-nav [class*=owl-] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, .4);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.hero-slider.owl-theme .owl-nav .owl-prev {
    left: 20px;
}

.hero-slider.owl-theme .owl-nav .owl-next {
    right: 20px;
}

@media(max-width: 991px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-single {
        height: 400px;
        padding-left: 20px;
    }
}

@media(max-width: 767px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-single {
        height: 300px;
        padding-left: 15px;
    }
}

/* --- Global SVG Icon Styling --- */
.icon-svg {
    width: 20px !important;
    height: 20px !important;
    vertical-align: middle;
}

.icon-svg-big {
    width: 30px !important;
    height: 30px !important;
    vertical-align: middle;
}

/* --- OPTION 3: Textured Background --- */

.footer-area {
    background-color: #192841;
    /* A subtle, repeating diagonal line pattern (SVG) */
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.footer-area .copyright {
    /* A solid color that complements the main background */
    background-color: #0c1a30;
}

/* Improve readability with a subtle text shadow */
.footer-area p,
.footer-area a,
.footer-area li,
.footer-area span {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* Modern underline for widget titles */
.footer-widget-box .footer-widget-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Styling for the contact list ("Get In Touch") */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    /* Reduced spacing between items to make it more compact */
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-contact li a {
    display: flex;
    align-items: flex-start;
    color: #fff;
    text-decoration: none;
}

.footer-contact li i {
    margin-right: 15px;
    /* A bit more space for the icon */
    margin-top: 5px;
    width: 15px;
    text-align: center;
}

/* Hover effect for all footer links */
.footer-area a {
    transition: color 0.3s ease;
}

.footer-area .footer-list a:hover,
.footer-area .footer-contact a:hover {
    color: #b0c4de;
}

/* Interactive hover effect for social media icons */
.footer-social li a {
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social li a:hover {
    transform: scale(1.15);
    color: #cccccc;
}

/* --- Header-Aligned Gradient Button --- */
.st-btn {
    background: linear-gradient(to right, #2a3a8a, #6d3b70) !important;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.st-btn:hover {
    filter: brightness(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.site-breadcrumb .breadcrumb-menu li.active {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.service-details h3 {
    margin-bottom: 20px;
    margin-top: 20px;
}

.service-details h4 {
    margin-bottom: 15px;
    margin-top: 15px;
}

/* ------------------------------------------------sevice area--------------- */
.service-area .col-md-6 {
    margin-bottom: 40px;
}

.service-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-arrow {
    margin-top: auto;
}

.service-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-img img {
    border-radius: 10px;
    height: 16rem;
    width: 100% !important;
    transition: transform 0.3s ease;
}

/* ---------------------------------------wh-choose us------------------------ */
.choose-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.choose-img img {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.choose-img:hover img {
    transform: scale(1.03);
}

.choose-wrapper {
    margin-top: 30px;
}

.choose-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.choose-item:last-child {
    margin-bottom: 0;
}

.choose-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: #E9F5FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.choose-icon .icon-checked {
    font-size: 24px;
    color: #3498db;
}

.choose-item-content h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 5px;
}

.choose-item-content p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

/* --- -----------------------------Styles for The Studio Grid (with Image Scroll) --- */
.studio-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.studio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.studio-card {
    display: block;
    text-decoration: none;
    background-color: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.studio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.studio-card-image-container {
    height: 350px;
    overflow: hidden;
}


.studio-card-image-container img {
    width: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 8s ease-in-out;
}

.studio-card:hover .studio-card-image-container img {
    transform: translateY(calc(-100% + 350px));
}

.studio-card-content {
    padding: 20px 25px;
    border-top: 1px solid #e9ecef;
}

.studio-category {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.studio-title {
    font-size: 22px;
    color: #1a1a1a;
    margin: 5px 0 0 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .studio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .studio-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/*
=================================================
  STYLES FOR THE ARTISTIC "WORKING PROCESS" SECTION
=================================================
*/

/* --- Section Background --- */
.artistic-process-section {
    background-color: #0b113a;
    /* Dark blue from your screenshot */
    font-family: sans-serif;
    /* A fallback font */
}

/* --- The Main Timeline Container --- */
.artistic-process-timeline {
    position: relative;
}

/* --- The Individual Step Item --- */
.artistic-process-item {
    position: relative;
    /* Crucial for positioning the connecting line */
    text-align: center;
    margin-bottom: 40px;
}

/* --- THE ARROW: This creates the arched, dotted line --- */
/* We use the ::after pseudo-element to draw the line */
.artistic-process-item::after {
    content: '';
    position: absolute;
    /* Positioning the arch */
    top: 45px;
    left: 100%;
    transform: translateX(-50%);

    /* Creating the arch shape */
    width: 100%;
    height: 50px;
    border: 2px dotted rgba(255, 255, 255, 0.4);
    border-bottom: none;
    border-right: none;
    border-radius: 100px 0 0 0;

    /* Hiding it behind the next orb */
    z-index: 1;
}

/* --- Hide the line on the last item --- */
.artistic-process-timeline>div:last-child .artistic-process-item::after {
    display: none;
}

/* --- The Main Circle (The "Orb") --- */
.process-orb {
    width: 130px;
    height: 130px;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
    /* Sits ON TOP of the connecting line */

    background-color: #0b113a;
    /* Same as the background to create a "cutout" effect */
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- The Step Number (01, 02...) --- */
.step-number {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    opacity: 0.6;
}

/* --- The IcoMoon Icon Itself --- */
.process-icon::before {
    font-family: 'icomoon' !important;
    font-size: 40px;
    color: white;
}

/* --- Text Content Styling --- */
.process-content h4 {
    color: white;
    font-size: 22px;
    margin-bottom: 15px;
}

.process-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.7;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {

    /* Hide the arched lines when items stack vertically */
    .artistic-process-item::after {
        display: none;
    }

    /* Make the orbs a bit smaller on smaller screens */
    .process-orb {
        width: 110px;
        height: 110px;
    }

    .step-number {
        top: 15px;
        left: 15px;
    }

    .process-icon::before {
        font-size: 32px;
    }
}


/* ----------------------------faq area---------------- */
.testimonial-area .site-heading {
    margin-bottom: 50px;
}

/* This new rule makes all slides in the row equal height */
.testimonial-slider .owl-stage {
    display: flex;
}

.testimonial-slider .owl-item {
    display: flex;
}


.testimonial-single {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    position: relative;
    overflow: hidden;
    margin: 10px;
    width: 100%;
    /* Ensure card fills the owl-item */

    /* These new rules align the content inside the card */
    display: flex;
    flex-direction: column;
}

.testimonial-rate {
    color: #ffc107;
    margin-bottom: 20px;
}

.testimonial-rate i {
    font-size: 16px;
    margin-right: 2px;
}

/* This new rule makes the quote area expand to fill empty space */
.testimonial-quote {
    flex-grow: 1;
}


.testimonial-content {
    display: flex;
    align-items: center;
}

.testimonial-author-img img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid #e9ecef;
}

.testimonial-quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1;
}

.testimonial-quote-icon i {
    font-size: 80px;
    color: #f8f9fa;
    line-height: 1;
}

/* Styles for the Owl Carousel dots */
.testimonial-slider.owl-carousel .owl-dots {
    margin-top: 40px;
    text-align: center;
}

.testimonial-slider.owl-carousel .owl-dot {
    width: 12px;
    height: 12px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    transition: background-color 0.3s ease;
}

.testimonial-slider.owl-carousel .owl-dot.active {
    background-color: #007bff;
}

.w-100 {
    width: 100% !important;
}

.service-details p {
    margin-bottom: 5px;
}

.service-details ol li {
    list-style: disc;
}


/* ------------------------- ----- --------------blog area----------- ----- */
.blog-item-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-item-img img {
    border-radius: 10px;
    height: 16rem;
    width: 100% !important;
    transition: transform 0.3s ease;
}

.blog-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-item-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-item-info p {
    flex-grow: 1;
}

/* ----------------------------------------technology----------- */
/* --- Styles for Enhanced Tech Section (Interactive Gradient Card) --- */
.tech-section-fancy {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #e0e7ee 100%);
    /* Subtle gradient background */
}

/* Re-using existing site heading styles for consistency */
.site-title-tagline {
    display: inline-block;
    padding: 5px 15px;
    background-color: #e9f5ff;
    color: #007bff;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 15px;
}

.site-title {
    font-size: 38px;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 10px;
    margin-bottom: 20px;
}

.site-title strong {
    /* If you want to highlight part of the title */
    color: #007bff;
}

.tech-grid-fancy {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 30px;
    justify-items: center;
    max-width: 1100px;
    margin: auto;
}

.tech-card-fancy {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    border-radius: 15px;
    /* More rounded corners */
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    /* Stronger, softer shadow */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    /* Important for the border animation */
}

/* Animated border effect */
.tech-card-fancy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    padding: 3px;
    /* Thickness of the border */
    background: linear-gradient(45deg, #007bff, #56c2e6);
    /* Gradient border color */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: opacity 0.4s ease;
    opacity: 0;
    /* Hidden by default */
}

.tech-card-fancy:hover::before {
    opacity: 1;
    /* Show on hover */
}


.tech-card-fancy:hover {
    transform: translateY(-8px) scale(1.02);
    /* More pronounced lift and slight scale */
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
    /* Stronger shadow on hover */
}

.tech-icon-wrapper {
    width: 80px;
    /* Fixed size for the icon area */
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tech-card-fancy:hover .tech-icon-wrapper {
    transform: scale(1.15) rotateY(10deg);
    /* Icon grows and slightly rotates on hover */
}

.tech-icon-wrapper img {
    max-height: 100%;
    /* Ensure images fit within wrapper */
    max-width: 100%;
    object-fit: contain;
}

.tech-card-fancy h4 {
    margin: 0;
    font-size: 17px;
    /* Slightly larger font */
    color: #1a1a1a;
    font-weight: 600;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .tech-grid-fancy {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 20px;
        /*margin-top: 40px;*/
    }

    .tech-card-fancy {
        padding: 20px 10px;
    }

    .tech-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .tech-card-fancy h4 {
        font-size: 15px;
    }

    .site-title {
        font-size: 23px;
    }
}

/* --- Tablet Styles (for screens between 768px and 1024px) --- */
@media (max-width: 1024px) {
    .hero-single .hero-content {
        padding-left: 30px;
    }

    .site-title-tagline {
        margin-top: 18px;
    }
}

/* --- Mobile Styles (for screens smaller than 768px) --- */
@media (max-width: 767px) {
    .hero-single .hero-content {
        padding-left: 15px;
        padding-top: 20px;
        text-align: center;
    }

    .hero-slider.owl-theme .owl-nav [class*=owl-] {
        top: 65%;
        width: 40px;
        height: 40px;
        display: flex;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .owl-prev .icon-svg,
    .owl-next .icon-svg {
        width: 14px !important;
        height: 14px !important;
        vertical-align: middle;
    }

    .studio-card-image-container {
        height: 450px;
        overflow: hidden;
    }

    .tech-section-fancy {
        padding: 30px 0;
    }

    .studio-section {
        padding: 40px 0;
    }

    .site-breadcrumb .breadcrumb-title {
        font-size: 30px;
        line-height: 40px;
        color: var(--color-white);
        font-weight: 700;
    }
}