﻿body {
    padding-top: var(--navbar-height, 70px); /* Navbar height jitna padding */
    margin: 0;
}

/*@media (min-width: 768px) {
    html { font-size: 16px; }
}*/
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
/*html { font-size: 14px; position: relative; min-height: 100%; }*/
/*body { margin-bottom: 60px; }*/


/* = Theme ================================================================================*/
/* 1. Default/Light Theme Settings */
:root, [data-bs-theme="light"] {
    --bs-body-bg: #d4e6d5;
    --bs-body-color: #212529;
    --nav-bg: #ffffff;
    --footer-link: #070457;
    --footerLink_hover: #09047e;
    --footerLink_active: #060351;
}

/* 2. Dark Theme Settings */
[data-bs-theme="dark"] {
    --bs-body-bg: #202124;
    --bs-body-color: #f8fafc;
    --bs-card-bg: #1e293b;
    --bs-primary: #38bdf8;
    --bs-border-color: #334155;
    --nav-bg: #131314;
    --footer-link: #c9f7ce;
    --footerLink_hover: #a3f1ab;
    --footerLink_active: #84e58e;
}

/* UI Enhancements */
.theme-btn {
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    font-size: 1.25rem;
    color: var(--bs-body-color);
}

    .theme-btn:hover {
        opacity: 0.8;
        transform: scale(1.1);
    }

/* Ensuring navbar adapts to theme */
.navbar {
    background-color: var(--nav-bg) !important;
    transition: background-color 0.3s ease;
}


/* = Corporate Navbar ========================================================================*/
:root {
    --navbar-height: 70px;
    --navbar-bg: var(--nav-bg);
    --navbar-text: var(--bs-body-color);
    --navbar-hover: var(--bs-primary);
    --navbar-border: rgba(0,0,0,0.1);
    --navbar-shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition-speed: 0.3s;
}

[data-bs-theme="dark"] {
    --navbar-border: rgba(255,255,255,0.1);
    --navbar-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* = Trity Presense in India CSS Effect =====================================================*/

/* 3D Image Effect Styles */
.image-3d-container {
    perspective: 1000px;
    width: 100%;
    height: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

    .image-3d-container img {
        transition: transform 0.3s ease-out;
        transform-style: preserve-3d;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        will-change: transform;
    }

.footer-privacy-links {
    font-size: 13px
}

/* Responsive height for different devices */
@media (max-width: 768px) {
    .modal-body {
        height: 70vh !important;
    }

    .image-3d-container {
        height: 80%;
    }

    .footer-privacy-links {
        font-size: 12px
    }
}

@media (max-width: 576px) {
    .modal-body {
        height: 65vh !important;
    }

    .footer-privacy-links {
        font-size: 11px
    }
}




/* Subscription Form - Essential Fixes Only */

/* Fix: Tablet view center alignment */
@media (min-width: 768px) and (max-width: 991.98px) {
    #subscribe_container form {
        margin: 0 auto;
    }
}

/* Fix: Ensure consistent heights in horizontal layout */
@media (min-width: 576px) {
    #subscribe_container .form-control-sm,
    #subscribe_container .btn-sm {
        height: 38px;
    }

    #subscribe_container .btn-sm {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
}

/* Fix: Mobile touch targets */
@media (max-width: 575.98px) {
    #subscribe_container .form-control-sm,
    #subscribe_container .btn-sm {
        height: 44px;
        font-size: 16px;
    }

    #subscribe_container .btn-sm {
        width: 100%;
        justify-content: center;
    }
}

/* Fix: Status message spacing */
#subscriptionStatus {
    min-height: 20px;
}

#statusIcon {
    margin-right: 4px;
}