/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* HEADER IMAGE FIX */
.ihrrtc-header {
    width: 100%;
    line-height: 0; /* removes gap */
}

.ihrrtc-header img {
    width: 100%;
    height: auto; /* ðŸ”¥ IMPORTANT (no zoom) */
    display: block;
}

/* REMOVE GAP BETWEEN IMAGE & BUTTONS */
.ihrrtc-nav-buttons {
    margin-top: 0;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1170px;
    margin: 0 auto;
}

/* NAV BAR */
.ihrrtc-nav-buttons {
    background: linear-gradient(135deg, #1a237e 0%, #0d1b4a 100%);
    padding: 12px 0;
    border-top: 2px solid #e53935;
    border-bottom: 2px solid #e53935;
}

/* BUTTON WRAPPER */
.nav-buttons-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

/* BUTTON STYLE */
.nav-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border-radius: 40px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

/* NORMAL BUTTONS */
.home-btn, .rti-btn, .laws-btn, .gallery-btn {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.home-btn:hover, .rti-btn:hover, .laws-btn:hover, .gallery-btn:hover {
    background: #ffffff;
    color: #1a237e;
}

/* JOIN BUTTON */
.join-btn {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    animation: slowBlink 2s infinite;
}

/* DONATE BUTTON */
.donate-btn {
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    color: #ffffff;
    border: 2px solid #ffeb3b;
}

/* MOBILE FIX */
@media (max-width: 768px) {

    .nav-buttons-wrapper {
        gap: 8px;
    }

    .nav-btn {
        padding: 6px 12px;
        font-size: 10px;
    }
}
/* ðŸ”´ JOIN NOW - RED BLINK PRO EFFECT */
.join-btn {
    background: #e53935 !important;
    color: #ffffff !important;
    border: 2px solid #ff1744 !important;
    animation: redBlink 1s infinite;
    box-shadow: 0 0 10px #e53935, 0 0 20px #e53935;
}

/* ðŸ”¥ ANIMATION */
@keyframes redBlink {
    0% {
        background: #e53935;
        box-shadow: 0 0 5px #e53935, 0 0 10px #e53935;
        transform: scale(1);
    }
    50% {
        background: #ff1744;
        color: #fff;
        box-shadow: 0 0 20px #ff1744, 0 0 40px #ff1744;
        transform: scale(1.1);
    }
    100% {
        background: #e53935;
        box-shadow: 0 0 5px #e53935, 0 0 10px #e53935;
        transform: scale(1);
    }
}

/* HOVER EFFECT */
.join-btn:hover {
    animation: none;
    background: #b71c1c !important;
    box-shadow: 0 0 15px #b71c1c;
}

/* KEYFRAMES */
@keyframes slowBlink {
    0% {
        opacity: 1;
        background: transparent;
        color: #ffffff;
        border-color: #ffffff;
    }
    50% {
        opacity: 1;
        background: #e53935;
        color: #ffeb3b;
        border-color: #ffeb3b;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        background: transparent;
        color: #ffffff;
        border-color: #ffffff;
    }
}
/* ðŸ”¥ FORCE APPLY RTI DESIGN */

.entry-content .rti-wrapper,
.page-content .rti-wrapper {
    width: 100% !important;
}

/* MAIN BOX */
.entry-content .rti-pro {
    max-width: 1000px !important;
    margin: 40px auto !important;
    padding: 30px !important;
    background: #f9f9f9 !important;
    font-family: 'Poppins', sans-serif !important;
}

/* TITLE */
.entry-content .rti-main-title {
    text-align: center !important;
    color: #1a237e !important;
    font-size: 36px !important;
    font-weight: 700 !important;
}

/* INTRO */
.entry-content .rti-intro {
    text-align: center !important;
    margin-bottom: 30px !important;
}

/* CARDS */
.entry-content .rti-box {
    background: #ffffff !important;
    padding: 25px !important;
    margin-bottom: 25px !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
    transition: 0.3s !important;
}

/* HOVER */
.entry-content .rti-box:hover {
    transform: translateY(-6px) !important;
}

/* HEADINGS */
.entry-content .rti-box h2 {
    color: #e53935 !important;
}

/* HIGHLIGHT */
.entry-content .highlight {
    border-left: 6px solid #e53935 !important;
    background: #fff3f3 !important;
}

/* DOWNLOAD BUTTON */
.entry-content .rti-download-pro {
    text-align: center !important;
    margin-top: 40px !important;
}

.entry-content .rti-download-pro a {
    padding: 15px 35px !important;
    background: linear-gradient(135deg, #e53935, #b71c1c) !important;
    color: #fff !important;
    border-radius: 50px !important;
    font-weight: bold !important;
    box-shadow: 0 0 20px #e53935 !important;
}
/* ðŸ”¥ CONTACT FORM 7 PRO DESIGN */

.wpcf7 {
    max-width: 800px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    font-family: 'Poppins', sans-serif;
}

/* LABELS */
.wpcf7 label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    color: #1a237e;
}

/* INPUT FIELDS */
.wpcf7 input,
.wpcf7 textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    transition: 0.3s;
}

/* FOCUS EFFECT */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: #e53935;
    box-shadow: 0 0 8px rgba(229,57,53,0.4);
    outline: none;
}

/* FILE UPLOAD */
.wpcf7 input[type="file"] {
    border: none;
    background: #f4f6fb;
    padding: 10px;
}

/* SUBMIT BUTTON */
.wpcf7 input[type="submit"] {
    background: linear-gradient(135deg, #e53935, #b71c1c);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    padding: 14px;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 15px #e53935;
}

/* BUTTON HOVER */
.wpcf7 input[type="submit"]:hover {
    background: #000;
    transform: scale(1.05);
}

/* TITLE STYLE */
.join-title {
    text-align: center;
    font-size: 32px;
    color: #1a237e;
    margin-bottom: 20px;
    font-weight: 700;
}

/* SECTION DIVIDER */
.wpcf7 hr {
    border: none;
    border-top: 2px dashed #ccc;
    margin: 20px 0;
}
/* ============================= */
/* MOBILE HEADER - SLIDER GAP FIX */
/* ============================= */

@media (max-width: 767px) {

    /* 1. REMOVE EMPTY SECTION GAP */
    section.homethree_section_area {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    /* 2. REMOVE PAGE CONTAINER GAP */
    body.home .page_content,
    body.home .container {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
    }

    /* 3. REMOVE HEADER BUTTON SECTION GAP */
    .ihrtc-nav-buttons {
        padding: 5px 0 !important;
        margin-bottom: 0 !important;
    }

    /* 4. REMOVE ANY EXTRA SECTION SPACING */
    section {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* 5. PULL SLIDER UP (FINAL TOUCH) */
    .metaslider,
    .flexslider {
        margin-top: -20px !important;
    }

    /* 6. REMOVE HIDDEN SPACERS (IF ANY) */
    .elementor-spacer {
        display: none !important;
        height: 0 !important;
    }

}
@media (max-width: 767px) {

    .metaslider img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
    }

    .metaslider .slides li {
        height: auto !important;
    }

    .metaslider .flex-viewport {
        height: auto !important;
        max-height: none !important;
    }

}
/* Floating JOIN NOW Button Blink Animation */
.floating-join-btn {
    animation: joinNowBlink 1s ease-in-out infinite !important;
}

@keyframes joinNowBlink {
    0% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 5px 20px rgba(229, 57, 53, 0.5);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.03);
        background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
        box-shadow: 0 8px 30px rgba(229, 57, 53, 0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 5px 20px rgba(229, 57, 53, 0.5);
    }
}
/* Search Button Styles */
.search-btn {
    background: transparent !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    font-size: 18px !important;
    padding: 12px 20px !important;
}

.search-btn:hover {
    background: #ffffff !important;
    color: #1a237e !important;
    transform: translateY(-2px);
}

/* Search Popup / Dropdown */
.search-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.search-popup.active {
    display: flex;
}

.search-popup form {
    width: 80%;
    max-width: 600px;
}

.search-popup input {
    width: 100%;
    padding: 20px;
    font-size: 18px;
    border: none;
    border-radius: 50px;
    outline: none;
}

.search-popup .close-search {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

.search-popup .close-search:hover {
    color: #e53935;
}

/* Mobile Search Button */
@media (max-width: 768px) {
    .search-btn {
        padding: 8px 12px !important;
        font-size: 14px !important;
    }
}
/* ========== LANGUAGE BUTTONS STYLING - FOR HOME PAGE CONTENT ========== */
.gtranslate_wrapper {
    text-align: center;
    margin: 15px 0 5px 0;
}

.gtranslate_wrapper a,
.glink {
    display: inline-block !important;
    margin: 4px 6px !important;
    padding: 5px 14px !important;
    background: #4a148c !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
}

.gtranslate_wrapper a:hover,
.glink:hover {
    background: #e53935 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    border-color: #ffeb3b !important;
}

/* Mobile */
@media (max-width: 768px) {
    .gtranslate_wrapper a,
    .glink {
        padding: 3px 10px !important;
        font-size: 10px !important;
        margin: 3px 4px !important;
    }
}
/* ===== REMOVE GAP BETWEEN LANGUAGES & SLIDER ===== */

/* Remove all spacing from language section */
section.hometwo_section_area,
section.hometwo_section_area * {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

/* Tight wrapper */
.gtranslate_wrapper {
    margin: 0 !important;
    padding: 4px 0 !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

/* Remove anchor extra spacing */
.gtranslate_wrapper a {
    margin: 0 !important;
    padding: 5px 10px;
}

/* FORCE slider to stick up */
#sectionone {
    margin-top: -15px !important;
    padding-top: 0 !important;
}

/* Remove metaslider internal gap */
.metaslider,
.metaslider div,
.metaslider ul,
.metaslider li {
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove any unwanted space from all sections */
section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* MOBILE FIX */
@media screen and (max-width: 767px) {
    #sectionone {
        margin-top: -10px !important;
    }

    .gtranslate_wrapper {
        padding: 3px 5px !important;
    }
}
/* ===== MENU → LANGUAGE GAP (top spacing increase) ===== */
section.hometwo_section_area {
    margin-top: 8px !important;
}

/* ===== LANGUAGE → SLIDER GAP (bottom spacing reduce) ===== */
.gtranslate_wrapper {
    margin-bottom: -10px !important;
}

/* Extra tight control (optional fine tune) */
#sectionone {
    margin-top: -12px !important;
}
/* Reduce gap WITHOUT disturbing layout */

/* Language wrapper bottom spacing control */
.gtranslate_wrapper {
    margin-bottom: -5px !important;
}

/* Slight adjustment for section */
section.hometwo_section_area {
    padding-bottom: 0 !important;
}

/* Slider normal position (no force pull) */
#sectionone {
    margin-top: 0 !important;
}
/* ===== MOBILE MENU BUTTON FIX ===== */

@media screen and (max-width: 767px) {

    /* All menu buttons same size */
    .ihrrtc-nav-buttons a {
        font-size: 12px !important;
        padding: 6px 12px !important;
        border-radius: 20px !important;
        margin: 3px !important;
        display: inline-block;
    }

    /* Reduce DONATE button size */
    .ihrrtc-nav-buttons .donate-btn {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }

    /* Fix SEARCH button (circle icon) */
    .ihrrtc-nav-buttons .search-btn {
        width: 32px !important;
        height: 32px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
        font-size: 14px !important;
    }

    /* Prevent wrapping issues */
    .ihrrtc-nav-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

}
