body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
    background-color: #f6f5f0;
}

.navbar {
    background-color: #1f392b !important;
    transition: all 0.3s ease-in-out;
    z-index: 1030;
}

.navbar-toggler {
    border: none;
    outline: none;
    padding: 0;
    width: 40px;
    height: 30px;
    position: relative;
}

.toggler-icon,
.toggler-icon::before,
.toggler-icon::after {
    display: block;
    background-color: white;
    height: 3px;
    width: 100%;
    border-radius: 2px;
    transition: 0.3s;
    position: absolute;
}

.toggler-icon::before {
    content: '';
    top: -10px;
}

.toggler-icon::after {
    content: '';
    top: 10px;
}

.navbar-brand img {
    height: 45px;
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 40px !important;
    }
}

/* Cross animation */
.navbar-toggler.open .toggler-icon {
    background-color: transparent;
}


.navbar-toggler {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.navbar-toggler:focus,
.navbar-toggler:active {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.navbar-toggler.open .toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler.open .toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

.navbar-nav .nav-link {
    position: relative;
    color: white;
    transition: color 0.3s ease;
    margin-right: 15px;
    text-align: right;
    font-weight: 600;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    right: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #f1c40f;
    transform: scale(1.05);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
}

.navbar-nav .nav-link:active {
    color: #e67e22;
    transform: scale(0.95);
}

.nav-link.active {
    font-weight: bold;
    color: #e67e22;
}

.custom-footer {
    background: #1f392b;
}

.social-sidebar {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 0px 0px;
    z-index: 999;
    background-color: #ffffffd0;
    /* semi-transparent white */
    border-radius: 0 10px 10px 0;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.1);
}

.social-sidebar a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-sidebar img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-sidebar a:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-sidebar a:hover img {
    transform: rotate(10deg);
}

@media (max-width: 768px) {
    .social-sidebar {
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        padding: 6px 4px;
        gap: 10px;
    }

    .social-sidebar a {
        width: 40px;
        height: 40px;
    }

    .social-sidebar img {
        width: 20px;
        height: 20px;
    }

    #google_translate_element {
        position: static !important;
    }
}

@keyframes slideIn {
    0% {
        transform: translate(-100%, -50%);
        opacity: 0;
    }

    100% {
        transform: translate(0, -50%);
        opacity: 1;
    }
}


/* Hide top banner */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0px !important;
}

#google_translate_element {
    position: fixed;
    top: 20px;
    /* jitni height chahiye, adjust kar sakte ho */
    right: 10px;
    /* ya left: 10px; jahan chahiye */
    z-index: 9999;
    /* taaki sab ke upar rahe */
    background: white;
    /* optional: background clear ho */
    padding: 5px;
    /* optional: thoda space ho */
    border-radius: 5px;
    /* optional: thoda style */
}

/* Optional styling */
.goog-te-gadget {
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
    color: #333 !important;
}

.goog-te-combo {
    border-radius: 5px;
    padding: 4px;
    border: 1px solid #ccc;
}