.widget-head img,
.header-logo img {
    width: 250px;
    max-width: 100%;
    display: block;
}

.brand-img img {
    height: 60px;
}

.footer-section {
    margin-top: 5rem;
}

.contact-section {
    margin-top: 5rem;
}






.mega-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: #000;
    padding: 0px;
    border-radius: 2rem;
    height: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mega-dropdown:hover .mega-menu {
    height: auto;
    padding: 2rem 2.5rem;
    transition: all 0.3s ease;
}

h6.mega-title {
    color: inherit;
    border-bottom: 2px solid maroon;
    margin-bottom: 10px;
    padding-bottom: 5px;
    font-size: 0.8rem;
    min-width: 180px;
}

.mega-row {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(5, auto);
}

header .mega-menu .mega-list li {
    display: block;
}

header .mega-menu .mega-list li a {
    color: white !important;
    font-size: 0.7rem;
    line-height: 1.4;
    padding: 0;
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

header .mega-menu .mega-list li:hover a {
    color: var(--theme) !important;
}

header .mega-menu .mega-list li:last-child a {
    margin-bottom: 0px;
}







/* service detail page  */


/* Custom styles for the iPhone App Development section */
.contain-wrapp {
    background-color: var(--body);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

.paddingbot-clear {
    padding-bottom: 0 !important;
}

/* Background pattern */
/* .contain-wrapp::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, var(--bg) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, var(--bg) 2px, transparent 2px);
    background-size: 60px 60px;
    opacity: 0.3;
    z-index: 0;
} */

.section-heading {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.mainhade {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--header);
    margin-bottom: 25px;
    margin-right: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

/* .mainhade::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--theme);
    border-radius: 2px;
} */

.mainhade span {
    color: var(--theme);
    position: relative;
}

.mainhade span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--theme-dark);
    opacity: 0.5;
}

.section-heading i {
    font-size: 4rem;
    color: var(--theme);
    background: var(--bg);
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    display: inline-block;
    margin-top: 20px;
    box-shadow: var(--box-shadow);
    border: 5px solid var(--white);
    position: relative;
    z-index: 1;
}

.section-heading i::before {
    position: relative;
    z-index: 2;
}

.section-heading i::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px dashed var(--theme);
    opacity: 0.3;
    z-index: 0;
}

.contain-wrapp h3 {
    color: var(--header);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 15px;
}

.contain-wrapp h4 {
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.contain-wrapp p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.contain-wrapp p:last-child {
    margin-bottom: 0;
}

.contain-wrapp p b {
    color: var(--theme-dark);
    font-weight: 600;
}

.img-responsive {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    border: 8px solid var(--white);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.3s ease;
}

.img-responsive:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
}

.list-12 {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.list-12 li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    color: var(--text);
    line-height: 1.6;
    font-size: 1.05rem;
}

.list-12 li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--theme);
    background: var(--bg);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Feature boxes for better visual appeal */
.feature-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.feature-box {
    flex: 1;
    min-width: 200px;
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--theme);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box h4 {
    color: var(--theme-dark);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-box p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .mainhade {
        font-size: 2.5rem;
    }

    .section-heading i {
        font-size: 3.5rem;
        width: 90px;
        height: 90px;
        line-height: 90px;
    }
}

@media (max-width: 768px) {
    .contain-wrapp {
        padding: 60px 0;
    }

    .mainhade {
        font-size: 2rem;
    }

    .img-responsive {
        transform: none;
        margin-top: 30px;
    }

    .img-responsive:hover {
        transform: none;
    }

    .feature-box {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .mainhade {
        font-size: 1.8rem;
    }

    .section-heading i {
        font-size: 3rem;
        width: 80px;
        height: 80px;
        line-height: 80px;
    }
}



/* Custom Accordion Styles */
.accordion {
    width: 100%;
    margin: 0 auto;
}

.panel {
    margin-bottom: 12px;
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid #E5E5E5;
    transition: all 0.3s ease;
}

.panel:hover {
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12); */
}

.panel-heading {
    background-color: #f8f9fa;
    padding: 0;
    border-bottom: 1px solid #E5E5E5;
}

.contain-wrapp .panel-title {
    margin: 0;
}

/* Changed from <a> to <button> for better accessibility and to prevent redirect */
.panel-title button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 25px;
    color: #111;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.panel-title button:not(.collapsed) {
    background-color: #A5110D;
    color: white;
}

.panel-title button:hover {
    background-color: #f0eeee;
    color: #A5110D;
}

.panel-title button:not(.collapsed):hover {
    background-color: #5e0502;
    color: white;
}

/* Plus/Minus icon */
.panel-title button::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    margin-left: 15px;
    flex-shrink: 0;
}

.panel-title button.collapsed::after {
    content: '\f107';
}

.panel-title button:not(.collapsed)::after {
    content: '\f106';
}

/* Panel body styles */
.panel-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background-color: white;
}

.panel-collapse.show {
    max-height: 500px;
    /* Adjust based on your content */
}

.panel-body {
    padding: 25px;
    line-height: 1.7;
    color: #504E4E;
    border-top: 1px solid #f0eeee;
}

.panel-body p {
    margin-bottom: 0;
}

/* Active panel styling */
.panel.active {
    border-color: #A5110D;
    box-shadow: 0 4px 15px rgba(165, 17, 13, 0.15);
}

.panel.active .panel-heading {
    border-bottom-color: #A5110D;
}

/* Animation for the panel when opening */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-collapse.show .panel-body {
    animation: fadeIn 0.4s ease;
}

/* Focus styles for accessibility */
.panel-title button:focus {
    outline: 2px solid #A5110D;
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .panel-title button {
        padding: 16px 20px;
        font-size: 1rem;
    }

    .panel-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .panel-title button {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .panel-title button::after {
        font-size: 1rem;
    }

    .panel-body {
        padding: 16px;
    }
}


select option {
    background-color: #a5110d75;
    color: white;
    outline: none;
    border: none;
}


.case-study-wrapper .main-box .box .title-items h3 {
    position: absolute;
    top: 45%;
    left: 50%;
    font-size: 1rem;
    transform: translate(-50%, -50%) rotate(-90deg);
    line-height: 0rem;
    white-space: nowrap;
}

span.arrow-btn {
    display: none !important;
}

.footer-bottom .footer-wrapper .footer-menu li a {
    margin-right: 80px;
}

img.freelancer {
    width: 28px;
}

.footer-widgets-wrapper .single-footer-widget .footer-content .social-icon a:hover img.freelancer{
    filter: invert(1);
}


/* New Page Start*/

.availability {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: start;
    margin: 2rem 0;
}

.availability .badges {
    background-color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 40px;
    font-weight: 500;
    color: var(--theme2);
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border);
}

.availability .badges strong {
    color: var(--theme);
    font-weight: 600;
}

.availability .mode {
    background-color: var(--theme);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.feature-box-items {
    margin-top: 30px;
    background-color: var(--white);
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.06);
    padding: 25px;
    position: relative;
    z-index: 9;
    border: 2px solid transparent;
    border-radius: 24px;
    transition: all 0.3s linear;
}

.feature-box-items.new-box2 {
    background: #f0eeee;
}

.feature-box-items:hover {
    transform: translateY(-15px);
    box-shadow: 0px 0px 10px #a5110d91 !important;
    border-color: var(--theme);
    background-color: var(--theme);
    color: white;
}

/* .feature-box-items .content p{
    min-height: 120px;
} */

.feature-box-items:hover h3,
.feature-box-items:hover .content p{
    color: #fff;

}

h2.mainhade{
    font-size: 2.5rem;
}

.row.new-right-box {
    overflow-y: scroll;
    max-height: 400px;
}

h2.line-heading::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--theme);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.feature-box-items .content{
    margin-top: 0px;
}

.feature-box-items:hover a.box-nav {
    color: rgb(0, 0, 0);
   
}


a.box-nav:hover{
    text-decoration: underline;
    color: var(--theme) !important;
}


.feature-box-items1 {
    margin-top: 30px;
    background-color: var(--theme);
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.06);
    padding: 25px;
    position: relative;
    z-index: 9;
    border: 2px solid transparent;
    border-radius: 24px;
    transition: all 0.3s linear;
}

.feature-box-items1 .content h3, .feature-box-items1 .content p {
    color: white;
    margin-bottom: 10px;
}



/* h3.content-head{
    min-height:80px;
}

.list-link{
     min-height: 120px;
} */

.new-section{
    padding: 50px 0px !important;
}

.feature-box-items.it-box:hover {
    background: transparent;
    border: 2px solid transparent;
    transition: none;
    transform: none;
    /* box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.06); */
}

.feature-box-items.it-box:hover h3{
    color: black;
}


i.fa-solid.fa-circle.me-2 {
    font-size: 6px;
    margin-top:12px;
}

a.box-nav {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 8px;
}

.feature-box-items1 .content h3{
    color: white;
    margin-bottom: 0px;
    padding: 0px;
    min-height: 64px;
}

ul.list-link {
    min-height: 144px;
}

.feature-box-items.it-box .content h3 {
    min-height: 40px;
}

span.short-text {
    color: black;
    text-transform: lowercase;
    font-size: 29px;
    margin-inline: 6px;
}

span.short-text::after{
    display: none;
}

.it-box h3.content-head{
    font-size: 22px;
}

@media screen and (max-width:768px) {
    h2.mainhade {
        font-size: 1.6rem;
    }

    .section-heading {
        margin-bottom: 0px;
    }

    /* h3.content-head{
        min-height:unset;
    }

    .list-link{
        min-height: unset;
    } */
}
/* New page End */