/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/
* {
    /* text-align: center; */
}

.container {
    max-width: 100%;
    padding: 15px;
}


#logo img {
    max-height: 30px;
    width: auto;
}

.device-video-wrap {
    position: relative;
    width: 100%;
    max-width: 480px;
}
.device-video-wrap video {
    position: absolute;
    top: 10px;
    left:32%;
    max-width: 43%;
    z-index: 1;
    transform: translate(-50%);
}

.device-frame {
    width: 100%;
    height: auto;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.doa-video {
    width: 50%;
    height: 81%;
    object-fit: cover;
    border-radius: 25px;
}

.benefits-card {
    padding: 2rem;
    border-radius: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.benefits-card:hover {
    transform: translateY(-5px);
}

.benefit-item {
    padding: 1.5rem;
    border-radius: 0.75rem;
    background-color: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.benefit-item i {
    display: inline-block;
    color: #3D80E4;
}

.benefit-item h4 {
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Navbar Styles */
#header {
    position: relative;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

#header-wrap {
    background-color: #4685E4;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

#logo {
    display: flex;
    align-items: center;
}

#logo img {
    max-height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.primary-menu {
    display: flex;
    align-items: center;
}

.menu-container {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu-item {
    margin: 0 10px;
}

.menu-link {
    color: white;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.menu-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.primary-menu-trigger {
    display: none;
    cursor: pointer;
}

.cnvs-hamburger {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.cnvs-hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.cnvs-hamburger-inner,
.cnvs-hamburger-inner::before,
.cnvs-hamburger-inner::after {
    width: 30px;
    height: 2px;
    background-color: white;
    position: absolute;
    transition: transform 0.15s ease;
}

.cnvs-hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.cnvs-hamburger-inner::before,
.cnvs-hamburger-inner::after {
    content: '';
    display: block;
}


.navbar {
    position: relative !important;
}

.cnvs-hamburger-inner::before {
    top: -8px;
}

.cnvs-hamburger-inner::after {
    bottom: -8px;
}

/* Mobile Menu Active State */
.menu-open .cnvs-hamburger-inner {
    transform: rotate(45deg);
}

.menu-open .cnvs-hamburger-inner::before {
    transform: rotate(-90deg) translate(-8px, 0);
}

.menu-open .cnvs-hamburger-inner::after {
    transform: rotate(-90deg) translate(8px, 0);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    *   {
        text-align: center;
    }

    .navbar {
        position: relative;
        display: flex;
        justify-content: center;
    }

    .navbar-container {
        margin: 0 !important;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }
    
    .display-3 {
        font-size: 2.5rem !important;
    }
    
    .lead {
        font-size: 1rem !important;
    }
    
    .section {
        padding: 60px 0 !important;
    }
    
    .slide-imgs {
        text-align: center;
        margin-top: 2rem;
    }
    
    .slide-imgs img {
        max-width: 80%;
        height: auto;
    }
    
    .doa-video {
        top: 11.5%;
        left: 24.5%;
        width: 51%;
        height: 70%;
    }
    
    .benefits-card {
        padding: 1.5rem;
    }
    
    .benefit-item {
        padding: 1.25rem;
    }
    
    #header {
        background-color: lightblue !important;
        position: relative;
    }
    
    .logo-default {
        width: 70% !important;
        height: 70% !important;
    }
    .menu-item a {
        color: white;
    }
    .cnvs-hamburger-inner,
    .cnvs-hamburger-inner::before,
    .cnvs-hamburger-inner::after {
        background-color: white !important;
    }
    
    .primary-menu-trigger {
        display: block;
    }
    
    .primary-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #4685E4;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        z-index: 999;
    }
    
    .menu-open .primary-menu {
        max-height: 300px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }
    
    .menu-container {
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
    }
    
    .menu-item {
        width: 100%;
        margin: 0;
        text-align: center;
    }
    
    .menu-link {
        display: block;
        padding: 12px;
        width: 100%;
    }
    
    .menu-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    #logo img {
        max-height: 35px;
    }
}

@media (max-width: 767.98px) {
    .display-3 {
        font-size: 2rem !important;
    }
    
    .section-clients .col img {
        max-width: 120px;
        margin: 10px auto;
    }
    
    .feature-box {
        text-align: center;
    }
    
    .feature-box .fbox-icon {
        margin-bottom: 1rem;
    }
    
    .btn {
        width: 100%;
        margin: 0.5rem 0 !important;
    }
    
    .doa-video {
        top: 11%;
        left: 25%;
        width: 51%;
        height: 82%;
    }
    
    .benefits-card {
        padding: 1rem;
    }
    
    .benefit-item {
        padding: 1rem;
    }
     .header-row {
        padding: 10px;
        display: flex;
        flex-direction: row;
     }
    
    #logo img {
        max-height: 30px;
    }
    
    .header-row {
        padding: 8px 0;
    }
}

@media (max-width: 575.98px) {
    .display-3 {
        font-size: 1.75rem !important;
    }
    
        .container {
            /* padding-left: 10px;
            padding-right: 10px; */
        }
    
    .section {
        padding: 40px 0 !important;
    }
    
    .doa-video {
        top: 10.5%;
        left: 25.5%;
        width: 49%;
        height: 81%;
        border-radius: 22px;
    }
}

/* iPhone-specific fixes */
@media only screen and (max-width: 428px) and (min-device-width: 320px) {
    #header {
        position: relative !important;
        background-color: #4685E4 !important;
    }
    
    #header-wrap {
        padding: 0 !important;
    }
    
    .header-row {
        padding: 5px 0 !important;
    }
    
    #logo {
        padding-left: 10px;
    }
    
    #logo img {
        max-height: 25px !important;
    }
    
    .primary-menu-trigger {
        padding-right: 10px;
    }
    
    .primary-menu {
        top: 50px !important; /* Adjust based on your header height */
    }
    
    .menu-open .primary-menu {
        max-height: 200px !important;
    }
    
    .container {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
}

/* Mobile Language Switcher */
.mobile-lang-switch {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-lang-switch .lang-btn {
    color: white;
    text-decoration: none;
    padding: 5px;
    font-size: 14px;
}

.mobile-lang-switch .lang-btn.active {
    font-weight: bold;
}

.mobile-lang-switch .lang-separator {
    color: white;
    margin: 0 2px;
}

@media (min-width: 992px) {
    .mobile-lang-switch {
        display: none;
    }
}

/* Custom Carousel Navigation */
.custom-carousel-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    z-index: 100;
    pointer-events: none;
    left: 0;
    transform: translateY(-50%);
}

.custom-prev-btn,
.custom-next-btn {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: rgba(61, 128, 228, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.custom-prev-btn {
    left: calc(50% - 150px);
}

.custom-next-btn {
    right: calc(50% - 150px);
}

.custom-prev-btn:hover,
.custom-next-btn:hover {
    background-color: rgba(61, 128, 228, 1);
    transform: scale(1.1);
}

.oc-item {
    cursor: pointer !important;
}

.oc-item img {
    cursor: pointer !important;
    transition: transform 0.3s ease;
}

.oc-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .custom-prev-btn,
    .custom-next-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .custom-prev-btn {
        left: calc(50% - 100px);
    }
    
    .custom-next-btn {
        right: calc(50% - 100px);
    }
}

/* Language Switcher Styles */
.lang-switch {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.mobile-lang-switch {
    display: none;
    align-items: center;
    margin-left: auto;
}

.lang-btn {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 3px 5px;
    transition: color 0.3s ease;
}

.lang-btn:hover {
    color: #fff;
}

.lang-btn.active {
    color: #fff;
    font-weight: 700;
}

.lang-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 2px;
}

@media (max-width: 768px) {
    .lang-switch {
        display: none;
    }
    
    .mobile-lang-switch {
        display: flex;
        position: absolute;
        top: 15px;
        right: 15px;
    }
}
