
/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

/*** Chatbot Start ***/
/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 120px;
    right: 30px;
    z-index: 1000;
    transition: opacity 0.3s ease-in-out;
}

/* Ensure chatbot is always positioned correctly regardless of back-to-top button */
.chatbot-container {
    bottom: 120px !important;
    right: 30px !important;
}

.chatbot-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #820920, #a00b28);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(130, 9, 32, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.chatbot-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(130, 9, 32, 0.4);
}

.chatbot-icon i {
    color: white;
    font-size: 24px;
}

.chatbot-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #d6a54a;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.chatbot-popup {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    height: 450px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-popup.show {
    display: flex;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.chatbot-header {
    background: linear-gradient(135deg, #820920, #a00b28);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-avatar i {
    font-size: 18px;
}

.chatbot-info h6 {
    color: white;
    margin: 0;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    margin-left: auto;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f8f9fa;
    min-height: 200px;
    max-height: 300px;
}

.message {
    margin-bottom: 15px;
    display: flex;
    animation: messageSlideIn 0.3s ease-out;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
}

.bot-message .message-content {
    background: white;
    border: 1px solid #e9ecef;
    color: #333;
}

.user-message .message-content {
    background: linear-gradient(135deg, #820920, #a00b28);
    color: white;
}

.chatbot-input {
    padding: 15px;
    background: white;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 10px;
}

.chatbot-input input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 10px 15px;
    font-size: 14px;
}

.chatbot-input input:focus {
    outline: none;
    border-color: #820920;
    box-shadow: 0 0 0 2px rgba(130, 9, 32, 0.1);
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #820920, #a00b28);
    border: none;
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.chatbot-input button:hover {
    transform: scale(1.1);
}

/* Typing Indicator */
.typing-indicator .message-content {
    background: white;
    border: 1px solid #e9ecef;
    padding: 15px;
}

.typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #820920;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .chatbot-popup {
        width: 300px;
        height: 400px;
        right: -10px;
    }
    
    .chatbot-container {
        bottom: 115px !important;
        right: 30px !important;
    }
}
/*** Chatbot End ***/

/*** Mobile Responsive Strength Images Start ***/
/* Strength Images Responsive Design */
.strength-image {
    width: 235px;
    height: 118px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .strength-image {
        width: 180px;
        height: 90px;
    }
}

/* Mobile (576px and below) - Single column layout */
@media (max-width: 576px) {
    .strength-image {
        width: 280px;
        height: 140px;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .strength-image {
        width: 260px;
        height: 130px;
    }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
    .strength-image {
        width: 240px;
        height: 120px;
    }
}
/*** Mobile Responsive Strength Images End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: none;
    width: auto;
    height: auto;
    padding: 0;
    background: none !important;
    border: none !important;
    box-shadow: none;
    border-radius: 0;
    transition: 0.2s;
    z-index: 99;
}

/* Back to top button arrow styling */
.back-to-top i {
    font-size: 2rem !important;
    color: #820920 !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 2px 4px rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.back-to-top:hover i {
    color: #a00b28 !important;
    transform: translateY(-2px);
    text-shadow: 0 0 12px rgba(255, 255, 255, 1), 0 4px 8px rgba(255, 255, 255, 0.8);
}

/* Chatbot Welcome Popup Styles */
.chatbot-welcome-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.chatbot-welcome-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    text-align: center;
}

.chatbot-welcome-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.chatbot-welcome-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #820920, #a00b28);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.chatbot-welcome-avatar i {
    color: white;
    font-size: 20px;
}

.chatbot-welcome-header h5 {
    margin: 0;
    color: #333;
    font-weight: 600;
}

.chatbot-welcome-body {
    margin-bottom: 25px;
}

.chatbot-welcome-body p {
    margin: 0;
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.chatbot-welcome-footer {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.chatbot-welcome-footer .btn {
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.chatbot-welcome-footer .btn-primary {
    background: #820920;
    border-color: #820920;
}

.chatbot-welcome-footer .btn-primary:hover {
    background: #a00b28;
    border-color: #a00b28;
    transform: translateY(-2px);
}

.chatbot-welcome-footer .btn-outline-secondary {
    border-color: #ddd;
    color: #666;
}

.chatbot-welcome-footer .btn-outline-secondary:hover {
    background: #f8f9fa;
    border-color: #ccc;
    color: #333;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive for chatbot popup */
@media (max-width: 576px) {
    .chatbot-welcome-content {
        padding: 20px;
        margin: 20px;
    }
    
    .chatbot-welcome-header {
        flex-direction: column;
        text-align: center;
    }
    
    .chatbot-welcome-avatar {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .chatbot-welcome-footer {
        flex-direction: column;
    }
    
    .chatbot-welcome-footer .btn {
        width: 100%;
    }
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn.btn-primary:hover {
    background: white !important;
    color: #820920 !important;
    border: 1px solid #820920 !important;
}

.btn.btn-secondary {
    background: transparent;
    color: var(--bs-secondary);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    border: none;
    transition: 0.5s;
}

.btn.btn-secondary:hover {
    background: white !important;
    color: #820920 !important;
    border: 1px solid #820920 !important;
}

/* Additional button hover styles for all button types */
.btn:hover,
.btn:focus,
.btn:active {
    background: white !important;
    color: #820920 !important;
    border: 1px solid #820920 !important;
}

/* Specific styles for different button variants */
.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-light:hover,
.btn-outline-dark:hover {
    background: white !important;
    color: #820920 !important;
    border: 1px solid #820920 !important;
}

.btn-light:hover,
.btn-dark:hover {
    background: white !important;
    color: #820920 !important;
    border: 1px solid #820920 !important;
}


/*** Section Title Start ***/
.section-title {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.section-title .sub-style {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.section-title .sub-style::before {
    content: "";
    width: 100px;
    position: absolute;
    bottom: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-bottom: -6px;
    margin-left: -100px;
    border: 1px solid var(--bs-secondary) !important;
}

.section-title .sub-style::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: -8px;
    margin-left: -50px;
    border: 1px solid var(--bs-primary) !important;
}

.sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    bottom: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: -8px;
    margin-right: -100px;
    border: 1px solid var(--bs-secondary) !important;
}

.sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: -6px;
    margin-right: -50px;
    border: 1px solid var(--bs-primary) !important;
}


/*** Topbar Start ***/
.fixed-top .container {
    transition: 0.5s;
}

.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary) !important;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: #820920 !important;
}


@media (max-width: 768px) {
    .topbar {
        display: none;    
    }
}
/*** Topbar End ***/


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: #000000 !important;
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: #000000 !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #820920 !important;
}

.navbar-light .navbar-brand img {
    max-height: 90px;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover,
.dropdown .dropdown-menu a.active {
    background: white;
    color: #820920 !important;
}

/* Mobile dropdown hover styles */
@media (max-width: 768px) {
    .dropdown .dropdown-menu a:hover {
        background: white !important;
        color: #820920 !important;
    }
    
    .dropdown .dropdown-menu a:focus {
        background: white !important;
        color: #820920 !important;
    }
    
    .dropdown .dropdown-menu a:active {
        background: white !important;
        color: #820920 !important;
    }
}

@media (max-width: 480px) {
    .dropdown .dropdown-menu a:hover {
        background: white !important;
        color: #820920 !important;
    }
    
    .dropdown .dropdown-menu a:focus {
        background: white !important;
        color: #820920 !important;
    }
    
    .dropdown .dropdown-menu a:active {
        background: white !important;
        color: #820920 !important;
    }
}

/* Dropdown menu background color */
.dropdown-menu {
    background: #ededed !important;
}

/* Sticky navbar background color */
.sticky-top {
    background: #ededed !important;
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: #ededed !important;
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid #000000 !important;
        color: #000000;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: #000000 !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 991.98px) {
    .sticky-top .navbar-light {
        background: #ededed !important;
    }

    /*** Top and Bottom borders in dark red ***/
    .navbar-light .navbar-nav .nav-link:after,
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        top: 30px;
        bottom: 30px;
        left: 0px;
        width: 100%;
        height: 2px;
        background: #820920;
        opacity: 0;
        transition: all 0.5s;
    }

    .navbar-light .navbar-nav .nav-link:before {
        bottom: auto;
    }

    .navbar-light .navbar-nav .nav-link:after {
        top: auto;
    }

    .navbar-light .navbar-nav .nav-link:hover:before,
    .navbar-light .navbar-nav .nav-link.active:before {
        top: 20px;
        opacity: 1;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        bottom: 20px;
        opacity: 1;
    }
}

#searchModal .modal-content {
    background: rgba(240, 245, 251, 0.5);
}
/*** Navbar End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    background: linear-gradient(rgba(74, 75 ,75, 0.9), rgba(204, 205, 206, 0.8)), url(../img/breadcrumb.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 60px 0 30px 0;
}
/* Global mobile breadcrumb sizing */
@media (max-width: 768px) {
    .bg-breadcrumb { padding: 16px 0 !important; }
    /* Override Bootstrap py-* utilities on containers inside breadcrumb */
    .bg-breadcrumb .container,
    .bg-breadcrumb .container.py-1,
    .bg-breadcrumb .container.py-2,
    .bg-breadcrumb .container.py-3,
    .bg-breadcrumb .container.py-4,
    .bg-breadcrumb .container.py-5 {
        padding-top: 10px !important; 
        padding-bottom: 10px !important; 
    }
    /* Reduce oversized display headings within breadcrumb */
    .bg-breadcrumb h3,
    .bg-breadcrumb h3.display-1,
    .bg-breadcrumb h3.display-2,
    .bg-breadcrumb h3.display-3,
    .bg-breadcrumb h3.display-4,
    .bg-breadcrumb h3.display-5,
    .bg-breadcrumb h3.display-6 { 
        font-size: 1.8rem !important; 
        margin-bottom: 4px !important; 
        line-height: 1.1 !important; 
    }
    .bg-breadcrumb .breadcrumb { font-size: 0.9rem !important; margin-bottom: 0 !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
}
@media (max-width: 480px) {
    .bg-breadcrumb { padding: 12px 0 !important; }
    .bg-breadcrumb .container,
    .bg-breadcrumb .container.py-1,
    .bg-breadcrumb .container.py-2,
    .bg-breadcrumb .container.py-3,
    .bg-breadcrumb .container.py-4,
    .bg-breadcrumb .container.py-5 { 
        padding-top: 8px !important; 
        padding-bottom: 8px !important; 
    }
    .bg-breadcrumb h3,
    .bg-breadcrumb h3.display-1,
    .bg-breadcrumb h3.display-2,
    .bg-breadcrumb h3.display-3,
    .bg-breadcrumb h3.display-4,
    .bg-breadcrumb h3.display-5,
    .bg-breadcrumb h3.display-6 { 
        font-size: 1.5rem !important; 
        margin-bottom: 2px !important; 
    }
    .bg-breadcrumb .breadcrumb { font-size: 0.85rem !important; }
}
/*** Single Page Hero Header End ***/


/*** Carousel Hero Header Start ***/
.carousel-header .carousel-control-prev .carousel-control-prev-icon,
.carousel-header .carousel-control-next .carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
    margin-left: -60px;
    border-radius: 50%;
    background-size: 60% 60%;
    transition: 0.5s;
}

.carousel-header .carousel-control-next .carousel-control-next-icon {
    margin-left: 0;
    margin-right: -60px;
}

.carousel-header .carousel .carousel-indicators {
    padding-bottom: 0;
    transition: 0.5s;
}


.carousel-header .carousel .carousel-indicators li,
.carousel-header .carousel .carousel-indicators li,
.carousel-header .carousel .carousel-indicators li {
    width: 8px;
    height: 8px;
    border: 8px solid var(--bs-primary);
    border-radius: 50%;
    margin-right: 30px;
    transition: 0.5s;
}

.carousel-header .carousel .carousel-indicators li.active {
    width: 8px;
    height: 8px;
    border: 8px solid var(--bs-secondary);
}

.carousel-header .carousel-inner .carousel-item {
    position: relative;
    min-height: 100vh 
}

.carousel-header .carousel-inner .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-header .carousel-inner .carousel-item .carousel-caption  {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, 0.6));
    background-size: cover;
}


@media (max-width: 768px) {
    .carousel-header {
        height: 700px !important;
    }

    .carousel-header .carousel-control-prev .carousel-control-prev-icon,
    .carousel-header .carousel-control-next .carousel-control-next-icon {
        margin-top: 500px;
    }

    .carousel-header .carousel-control-prev .carousel-control-prev-icon {
        margin-left: 0px;
    }

    .carousel-header .carousel-control-next .carousel-control-next-icon {
        margin-right: 0px;
    }

    .carousel-header .carousel .carousel-indicators {
        padding: 0;
    }
}
/*** Carousel Hero Header End ***/


/*** Counter Facts Start ***/
.counter-facts {
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, 0.8)), url(../img/breadcrumb.png);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
}

.counter-facts .counter {
    position: relative;
    text-align: center;
    width: 200px;
    min-height: 215px;
    padding: 10px 15px;
    margin: 0 auto;
    border-radius: 100px;
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.2);
    background: var(--bs-white);
}

.counter-facts .counter:before {
    content: "";
    position: absolute;
    height: 105px;
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 10px 10px 0 0;
    background-color: var(--bs-primary);
    
}
.counter-facts .counter .counter-icon {
    position: relative;
    width: 120px;
    height: 100px;
    margin: 0 auto 10px;
    border-radius: 10px 10px 0 0;
    transform: translateY(-20px);
    font-size: 50px;
    line-height: 90px;
    color: var(--bs-secondary);
    background: rgba(1, 143, 252, 0.5);
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter-facts .counter .counter-icon:before {
    content: "";
    position: absolute;
    width: 120px;
    height: 90px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px 10px 0 0;
    background: rgba(0, 58, 102, 0.5);
    z-index: -1;
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter-facts .counter:hover .counter-icon i {
    transform: rotate(360deg);
    transition: all 0.3s ease;
}
.counter-facts .counter h3 {
    color: var(--bs-primary);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}
.counter-facts .counter .counter-value {
    font-size: 30px;
    font-weight: 700;
    display: block;
    color: var(--bs-secondary);
}

@media screen and (max-width: 1200px) {
    .counter-facts .counter { margin-bottom: 40px; 
    }
}
/*** Counter Facts End ***/


/*** service Start ***/
.service .service-item {
    position: relative;
    overflow: hidden;
}

.service .service-item .service-inner .service-title {
    position: relative;
    margin-top: -30px;
    text-align: center;
    transition: 0.5s;
}

.service .service-item .service-inner .service-title .service-content {
    position: absolute;
    bottom: -100%; 
    left: 0;
    margin-left: 30px;
    margin-right: 30px;
    text-align: center;
    border-radius: 10px;
    background: var(--bs-primary);
    opacity: 0;
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-content {
    bottom: 0;
    opacity: 1;
}

.service .service-item .service-inner .service-title .service-content a h4 {
    border-bottom: 1px solid rgba(256, 256, 256, .1);
}

.service .service-item .service-inner .service-title .service-title-name {
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-title-name {
    opacity: 0;
}

.service .service-item .service-inner .service-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.service .service-item .service-inner .service-img::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .5);
    transition: 0.5s;
    opacity: 0;
}

.service .service-item:hover .service-inner .service-img::after {
    height: 100%;
    opacity: 1;
}

.service .service-item .service-inner .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-img img {
    transform: scale(1.3);
}
/*** Service End ***/


/*** Features Start ***/
.features .feature-item {
    position: relative;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.features .feature-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 58, 102, 0.1);
    z-index: -1;
    transition: 0.5s;
}

.features .feature-item:hover::after {
    height: 100%;
}

.features .feature-item .feature-icon {
    width: 120px; 
    height: 120px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-light);
    transition: 0.5s;
}

.features .feature-item:hover .feature-icon {
    border-radius: 50%;
    background: var(--bs-white) !important;
}

.features .feature-item .feature-icon i {
    transition: 0.5s;
}

.features .feature-item:hover .feature-icon i {
    color: #820920 !important;
    transform: rotate(360deg);
    transition: all 0.5s ease;
}
/*** Features End ***/


/*** Country Start ***/
.country .country-item {
    position: relative;
}

.country .country-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    background: rgba(139, 26, 31, 0.8);
    border-radius: 10px;
    transition: 0.5s;
    z-index: 1;
}

.country .country-item:hover::after {
    height: 100%;
}

.country .country-item .country-flag {
    position: absolute;
    width: 90px; 
    height: 90px; 
    border-radius: 50%;
    top: -45px; 
    left: 50%; 
    transform: translateX(-50%);
    transition: 0.5s;
    z-index: 2;
}

.country .country-item .country-flag img {
    border: 5px solid var(--bs-white);
    transition: 0.5s;
}

.country .country-item:hover .country-flag img {
    border: 5px solid var(--bs-white);
    transform: rotate(360deg);
    transition: all 0.5s ease;
}

.country .country-item .country-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 3;
}

.country .country-item:hover .country-name {
    opacity: 1;
}

.country .country-item img {
    transition: 0.5s;
}

.country .country-item:hover img {
    transform: scale(1.2);
}

.country .country-item .country-name a.fs-4 {
    transition: 0.5s;
}

.country .country-item .country-name a.fs-4:hover {
    color: #820920 !important;
}

.country .country-hover-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 26, 31, 0.9);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 4;
    border-radius: 10px;
}

.country .country-item:hover .country-hover-content {
    opacity: 1;
    visibility: visible;
}

.country .country-hover-content h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.country .country-hover-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.country .country-hover-content ul {
    margin-bottom: 15px;
}

.country .country-hover-content ul li {
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.country .country-hover-content .btn {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.country .country-hover-content .btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}
/*** Country End ***/

/*** Training Start ***/
.training .training-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.training .training-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.training .training-inner img {
    height: 350px;
    object-fit: cover;
    width: 100%;
    max-width: 100%;
    display: block;
    border-radius: 8px 8px 0 0;
    background-color: #f8f9fa;
}

/* Increase height for mobile devices */
@media (max-width: 768px) {
    .training .training-inner img {
        height: 400px;
    }
}

.training .training-inner {
    position: relative;
    overflow: hidden;
}

.training .training-content {
    flex-shrink: 0;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.training .training-content p {
    flex: 1;
    margin-bottom: 15px;
}
/*** Training End ***/


/*** testimonial Start ***/
.testimonial .owl-carousel.testimonial-carousel {
    position: relative;
}

.testimonial .owl-carousel.testimonial-carousel .testimonial-item .testimonial-content {
    position: relative;
    border-radius: 10px;
    background: var(--bs-light);
}

.testimonial .owl-carousel.testimonial-carousel .testimonial-item .testimonial-content::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 45px;
    bottom: -20px;
    left: 30px;
    transform: rotate(45deg);
    background: var(--bs-light);
    z-index: -1;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    font-size: 40px;
    color: var(--bs-primary);
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev {
    margin-right: 40px;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-secondary);
}
/*** testimonial end ***/


/*** training Start ***/
.training .training-item .training-inner {
    position: relative;
}

.training .training-item .training-inner .training-title-name {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 20px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    display: flex; 
    flex-direction: column;
    justify-content: end;
    text-align: center;
    transition: 0.5s;
}

.training .training-item {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.training .training-item:hover .training-inner .training-title-name {
    background: rgba(0, 58, 102, 0.5);
}

.training .training-item:hover .training-inner .training-title-name a {
    opacity: 0;
}

.training .training-item .training-inner img {
    transition: 0.5s;
}

.training .training-item:hover .training-inner img {
    transform: scale(1.3);
}

.training .training-item .training-content {
    position: absolute;
    width: 100%;
    bottom: -100%;
    left: 0;
    transition: 0.5s;
}

.training .training-item:hover .training-content {
    bottom: 0;
}

/* Show Read More button on all devices */
.training .training-content .btn {
    display: inline-block;
}
/*** training End ***/


/*** Contact Start ***/
.contact .office .office-item {
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
    background: var(--bs-light);
    transition: 0.5s;
}

.contact .office .office-item:hover {
    box-shadow: 20px 20px 20px rgba(0, 58, 102, 0.3);
}

.contact .office .office-item .office-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.contact .office .office-item .office-img img {
    transition: 0.5s;
}

.contact .office .office-item:hover .office-img img {
    transform: scale(1.3);
}

.contact .office .office-item .office-content a.text-secondary,
.contact .office .office-item .office-content a.text-muted {
    transition: 0.5s;
}

.contact .office .office-item .office-content a.text-muted:hover {
    color: #820920 !important;
}

.contact .office .office-item .office-content a.text-secondary:hover {
    color: var(--bs-primary) !important;
}
/*** Contact End ***/

/* Get in Touch form consent checkbox styling */
.contact-form .form-check-input:checked {
    background-color: #cfcfcf !important; /* light grey */
    border-color: #cfcfcf !important;
}

.contact-form .form-check-input:focus {
    box-shadow: none !important; /* remove blue glow */
    outline: none !important;
}

/*** Timeline Start ***/
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #820920, #d6a54a);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px #6e1014;
}

.timeline-content {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-marker {
        left: 20px;
    }
    
    .timeline-content {
        margin-left: 60px;
    }
}
/*** Timeline End ***/


/*** Footer Start ***/
.footer {
    background: var(--bs-primary);
}

/* Fix footer background color issues */
.site-footer {
    background: #820920 !important;
}

.footer-main {
    background: #820920 !important;
}

.footer-col {
    background: #820920 !important;
}

/* Standardized Footer Logo and Text Styling */
.footer-col.logo-area .logo {
    width: 220px !important;
    margin-bottom: 12px !important;
    transition: transform 0.3s ease !important;
}

/* Ensure all footer logos use the correct image */
.footer-col.logo-area .logo {
    background-image: url("img/Name White logo.png") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
}

.footer-col.logo-area .logo:hover {
    transform: scale(1.05) !important;
}

.footer-col.logo-area p {
    color: #fff !important;
    margin: 0 0 10px !important;
    line-height: 1.5 !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 14px !important;
}

/* Standardize footer description text across all pages */
.footer-col.logo-area p {
    position: relative !important;
}

.footer-col.logo-area p::before {
    content: "Connecting People with Global Opportunities - Trusted Overseas Recruiter, Abroad Jobs and Study Abroad Consultant" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: #820920 !important;
    color: #fff !important;
    z-index: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 14px !important;
}

/* Enhanced Logo Styling */
.footer-col .certs {
    display: flex !important;
    gap: 10px !important;
    margin-top: 10px !important;
    align-items: center !important;
}

.footer-col .certs img {
    height: 44px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    background: rgba(255,255,255,0.1) !important;
    padding: 4px !important;
    object-fit: contain !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.footer-col .certs img:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(255,255,255,0.2) !important;
}

/* Special styling for Ministry logo to enhance visibility */
.footer-col .certs img[alt*="Ministry"] {
    filter: brightness(1.1) contrast(1.1) !important;
}
/* Temporary: hide certification logos sitewide until certifications are received */
.footer-col .certs {
    display: none !important;
}
.footer .footer-item a {
    line-height: 30px;
    color: var(--bs-white);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 30px;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color: var(--bs-secondary);
}

/*** Footer End ***/

/*** Footer Mobile Responsive ***/
@media (max-width: 768px) {
    .footer-main {
        display: block !important; /* Changed from flex to block */
        gap: 15px !important;
        padding: 20px 20px 15px 20px !important;
    }

    /* Section 1: Logo + About (Full width) */
    .footer-col.logo-area {
        text-align: center !important;
        margin-bottom: 15px !important;
    }

    /* Center certification logos on mobile */
    .footer-col.logo-area .certs {
        justify-content: center !important;
    }

    /* Force two-column layout for sections 2 & 3 */
    .footer-main .footer-col:nth-child(2),
    .footer-main .footer-col:nth-child(3) {
        display: inline-block !important;
        width: 45% !important; /* Adjusted width */
        vertical-align: top !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
        float: left !important;
        max-width: 45% !important;
        min-width: 45% !important;
    }

    .footer-main .footer-col:nth-child(2) { /* Quick Links */
        margin-right: 1% !important; /* Adjusted margin */
        margin-left: 4% !important; /* Adjusted margin */
    }

    .footer-main .footer-col:nth-child(3) { /* Services */
        margin-right: 2% !important; /* Adjusted margin */
        margin-left: 0 !important;
    }

    /* Force two-column layout for sections 4 & 5 (Contact & Find Us) */
    .footer-main .footer-col:nth-child(4),
    .footer-main .footer-col:nth-child(5) {
        display: inline-block !important;
        width: 45% !important; /* Adjusted width */
        vertical-align: top !important;
        margin-bottom: 5px !important;
        box-sizing: border-box !important;
        float: left !important;
        max-width: 45% !important;
        min-width: 45% !important;
        clear: none !important;
    }

    .footer-main .footer-col:nth-child(4) { /* Contact */
        margin-right: 1% !important; /* Adjusted margin */
        margin-left: 4% !important; /* Adjusted margin */
    }

    .footer-main .footer-col:nth-child(5) { /* Find Us */
        margin-right: 2% !important; /* Adjusted margin */
        margin-left: 0 !important;
    }

    /* Override any inline styles that might interfere */
    .footer-main .footer-col:nth-child(2)[style],
    .footer-main .footer-col:nth-child(3)[style] {
        width: 45% !important; /* This was an attempt to override, but later adjusted to 45% */
        display: inline-block !important;
        float: left !important;
    }

    /* Additional aggressive override for stubborn inline styles */
    div.footer-main div.footer-col:nth-child(2),
    div.footer-main div.footer-col:nth-child(3) {
        width: 45% !important; /* Adjusted width */
        display: inline-block !important;
        float: left !important;
        vertical-align: top !important;
        box-sizing: border-box !important;
    }

    div.footer-main div.footer-col:nth-child(2) {
        margin-right: 1% !important; /* Adjusted margin */
        margin-left: 4% !important; /* Adjusted margin */
    }

    div.footer-main div.footer-col:nth-child(3) {
        margin-right: 2% !important; /* Adjusted margin */
    }

    /* Additional aggressive override for sections 4 & 5 */
    div.footer-main div.footer-col:nth-child(4),
    div.footer-main div.footer-col:nth-child(5) {
        width: 45% !important;
        display: inline-block !important;
        float: left !important;
        vertical-align: top !important;
        box-sizing: border-box !important;
        clear: none !important;
    }

    div.footer-main div.footer-col:nth-child(4) {
        margin-right: 1% !important;
        margin-left: 4% !important;
    }

    div.footer-main div.footer-col:nth-child(5) {
        margin-right: 2% !important;
    }

    /* Sections 4 & 5: Contact + Map & Social (Two columns) */
    .footer-col.contact,
    .footer-col.map-social {
        text-align: left !important;
        margin-bottom: 5px !important;
    }

    .footer-cta .cta-wrap {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
    }

    .footer-cta h3 {
        font-size: 18px !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
    }

    .footer-bottom .left {
        font-size: 12px !important;
    }

    /* Reduce language selector size on mobile */
    .footer-bottom select {
        font-size: 12px !important;
        padding: 4px 8px !important;
        height: 34px !important;
        line-height: 1.2 !important;
    }

    .map-container {
        height: 200px !important;
    }

    .social-row {
        justify-content: center !important;
        margin-top: 10px !important;
        width: 100% !important;
        clear: both !important;
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .footer-col h4 {
        margin-bottom: 12px !important;
        font-size: 18px !important;
        text-align: left !important;
    }

    .footer-col .list-links {
        text-align: left !important;
    }

    .footer-col.contact p {
        text-align: left !important;
        margin: 8px 0 !important;
    }

    /* Hide social media icons from Find Us section */
    .footer-col.map-social .social-row {
        display: none !important;
    }

    /* Show mobile social media section */
    .footer-social-mobile {
        display: block !important;
        background: #820920 !important;
    }
}

/* Global footer link styling and auto-linking */
.site-footer a.footer-privacy-link {
    color: #fff !important;
    text-decoration: none !important;
}

.site-footer a.footer-privacy-link:hover {
    text-decoration: underline !important;
}

@media (max-width: 480px) {
    .footer-main {
        padding: 15px 15px 10px 15px !important;
        gap: 10px !important;
    }

    /* Maintain the same layout structure for smaller screens */
    .footer-col.logo-area {
        margin-bottom: 12px !important;
    }

    /* Center certification logos on smaller mobile screens */
    .footer-col.logo-area .certs {
        justify-content: center !important;
    }

    .footer-main .footer-col:nth-child(2),
    .footer-main .footer-col:nth-child(3) {
        width: 45% !important;
        margin-bottom: 8px !important;
        display: inline-block !important;
        vertical-align: top !important;
        box-sizing: border-box !important;
        float: left !important;
        max-width: 45% !important;
        min-width: 45% !important;
    }

    .footer-main .footer-col:nth-child(2) {
        margin-right: 1% !important;
        margin-left: 4% !important;
    }

    .footer-main .footer-col:nth-child(3) {
        margin-right: 2% !important;
    }

    .footer-main .footer-col:nth-child(4),
    .footer-main .footer-col:nth-child(5) {
        width: 45% !important;
        margin-bottom: 5px !important;
        display: inline-block !important;
        vertical-align: top !important;
        box-sizing: border-box !important;
        float: left !important;
        max-width: 45% !important;
        min-width: 45% !important;
        clear: none !important;
    }

    .footer-main .footer-col:nth-child(4) {
        margin-right: 1% !important;
        margin-left: 4% !important;
    }

    .footer-main .footer-col:nth-child(5) {
        margin-right: 2% !important;
    }

    /* Additional aggressive override for smaller screens */
    div.footer-main div.footer-col:nth-child(2),
    div.footer-main div.footer-col:nth-child(3) {
        width: 45% !important; /* Adjusted width */
        display: inline-block !important;
        float: left !important;
        vertical-align: top !important;
        box-sizing: border-box !important;
    }

    /* Additional aggressive override for sections 4 & 5 on smaller screens */
    div.footer-main div.footer-col:nth-child(4),
    div.footer-main div.footer-col:nth-child(5) {
        width: 45% !important;
        display: inline-block !important;
        float: left !important;
        vertical-align: top !important;
        box-sizing: border-box !important;
        clear: none !important;
    }

    div.footer-main div.footer-col:nth-child(4) {
        margin-right: 1% !important;
        margin-left: 4% !important;
    }

    div.footer-main div.footer-col:nth-child(5) {
        margin-right: 2% !important;
    }

    .footer-col.contact,
    .footer-col.map-social {
        margin-bottom: 5px !important;
    }

    .footer-cta {
        padding: 20px 15px !important;
    }

    .footer-cta h3 {
        font-size: 16px !important;
    }

    .footer-col h4 {
        font-size: 16px !important;
        margin-bottom: 10px !important;
        text-align: left !important;
    }

    .footer-col {
        font-size: 13px !important;
    }

    .map-container {
        height: 180px !important;
    }

    /* Hide social media icons from Find Us section on smaller screens */
    .footer-col.map-social .social-row {
        display: none !important;
    }

    .social-row {
        justify-content: center !important;
        margin-top: 8px !important;
        width: 100% !important;
        clear: both !important;
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .social-row a {
        width: 38px !important;
        height: 38px !important;
        font-size: 18px !important;
    }

    /* Show mobile social media section on smaller screens */
    .footer-social-mobile {
        display: block !important;
        background: #820920 !important;
    }

    .footer-bottom {
        padding: 12px 15px !important;
    }

    .footer-bottom .left {
        font-size: 11px !important;
    }

    /* Further reduce language selector size on small phones */
    .footer-bottom select {
        font-size: 11px !important;
        padding: 3px 8px !important;
        height: 32px !important;
    }

    .cta-btn {
        padding: 8px 16px !important;
        font-size: 14px !important;
    }
}

/* JavaScript solution for mobile footer two-column layout */
@media (max-width: 768px) {
    .footer-main {
        position: relative !important;
    }
    
    .footer-main::before {
        content: "";
        display: block;
        clear: both;
    }
}


/*** Experience Badge Styling ***/
.badge {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    padding: 8px 12px !important;
    border-radius: 20px !important;
}

/* Mobile responsive experience badges */
@media (max-width: 768px) {
    .badge {
        font-size: 0.85rem !important;
        padding: 6px 10px !important;
    }
}

@media (max-width: 480px) {
    .badge {
        font-size: 0.8rem !important;
        padding: 5px 8px !important;
    }
}
/*** Experience Badge End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-secondary) !important;
}
/*** copyright end ***/

/*** Global Padding Standards Start ***/
/* 
 * Global padding standards for all pages and sections
 * This ensures consistent 2.25rem (36px) padding across the entire website
 * Automatically applies to all new pages and sections
 */

/* Standard padding for all container-fluid elements */
.container-fluid {
    padding-top: 0.0rem !important;
    padding-bottom: 0.0rem !important;
}

/* Standard padding for all container elements */
.container {
    padding-top: 2.25rem !important;
    padding-bottom: 2.25rem !important;
}

/* Override for navigation and header elements that should not have padding */
.nav-bar,
.navbar,
header,
footer,
.chatbot-container,
.back-to-top {
    padding-top: initial !important;
    padding-bottom: initial !important;
}

/* Override for specific elements that need custom padding */
.container-fluid.nav-bar,
.container-fluid.hero-banner,
.container-fluid.bg-breadcrumb,
.container-fluid.counter-facts,
.container-fluid.service,
.container-fluid.overflow-hidden {
    /* These will inherit the standard padding unless overridden */
}

/* Responsive adjustments if needed */
@media (max-width: 768px) {
    .container-fluid,
    .container {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .container-fluid,
    .container {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}
/*** Global Padding Standards End ***/

/*** Subtitle Styles Start ***/
/* CSS Variables for consistent theming */
:root {
    --primary: #820920; /* Brand color */
    --ink: #1a1a1a;
}

/* Subtitle design with side lines */
.subtitle-line {
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.08em;
    gap: 20px;
    color: var(--ink);
}

.subtitle-line::before,
.subtitle-line::after {
    content: "";
    width: 80px;           /* length of the line */
    height: 3px;           /* thickness of the line */
    background: var(--primary);
    border-radius: 4px;
}

/* White variant for dark backgrounds */
.subtitle-line.subtitle-line--white { color: #ffffff !important; }
.subtitle-line.subtitle-line--white::before,
.subtitle-line.subtitle-line--white::after { background: #ffffff !important; }

/* Responsive subtitle styles */
@media (max-width: 768px) {
    .subtitle-line {
        font-size: 18px;
        gap: 15px;
    }
    
    .subtitle-line::before,
    .subtitle-line::after {
        width: 60px;
        height: 2px;
    }
}

@media (max-width: 576px) {
    .subtitle-line {
        font-size: 16px;
        gap: 12px;
    }
    
    .subtitle-line::before,
    .subtitle-line::after {
        width: 50px;
        height: 2px;
    }
}
/*** Subtitle Styles End ***/