/* =========================================================
   src/styles/custom.css
   Indian News Paper & Media Association (R)
   Complete Responsive Website CSS
   ========================================================= */

/* =========================================================
   GLOBAL RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0056b3;
    --secondary-color: #007bff;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --gold-color: #d4af37;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f9;
}

body {
    margin: 0;
    padding: 0;
}

#root {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.App {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.main-content {
    min-height: 70vh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;

    /* IMPORTANT: removes slider side gaps */
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* =========================================================
   BOOTSTRAP CONTAINER
   ========================================================= */

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    overflow-x: hidden;
}


/* =========================================================
   BOOTSTRAP ROW
   ========================================================= */

.row {
    overflow-x: hidden;
}


/* =========================================================
   COLUMNS
   ========================================================= */

[class*="col-"] {
    min-width: 0;
}


/* =========================================================
   HERO SLIDER
   Banner Original Size: 2164 x 727
   Aspect Ratio: 2.978 : 1
   ========================================================= */

.hero-slider {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}


/* =========================================================
   SLICK SLIDER RESET
   ========================================================= */

.hero-slider .slick-slider {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.hero-slider .slick-list {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.hero-slider .slick-track {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-slider .slick-slide {
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-slider .slick-slide > div {
    width: 100%;
    margin: 0;
    padding: 0;
}


/* =========================================================
   SLIDER ITEM
   ========================================================= */

.slider-item {
    width: 100% !important;
    max-width: 100%;

    /*
       IMPORTANT
       Original banner ratio = 2164 / 727
       Browser automatically calculates height.
    */
    aspect-ratio: 2164 / 727;

    margin: 0;
    padding: 0;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   SLIDER OVERLAY
   ========================================================= */

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background-color: rgba(0, 0, 0, 0.20);

    z-index: 1;
    pointer-events: none;
}


/* =========================================================
   SLIDER CONTENT
   ========================================================= */

.slider-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1200px;

    padding: 20px;

    text-align: center;
    color: #ffffff;
}


/* =========================================================
   SLICK ARROWS
   ========================================================= */

.hero-slider .slick-prev,
.hero-slider .slick-next {
    z-index: 20;

    width: 45px;
    height: 45px;
}

.hero-slider .slick-prev {
    left: 20px;
}

.hero-slider .slick-next {
    right: 20px;
}

.hero-slider .slick-prev:before,
.hero-slider .slick-next:before {
    color: #ffffff;
    font-size: 32px;
    opacity: 0.85;
}

.hero-slider .slick-prev:hover:before,
.hero-slider .slick-next:hover:before {
    opacity: 1;
}


/* =========================================================
   SLICK DOTS
   ========================================================= */

.hero-slider .slick-dots {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 18px;

    z-index: 20;
}

.hero-slider .slick-dots li button:before {
    color: #ffffff;
    font-size: 11px;
    opacity: 0.7;
}

.hero-slider .slick-dots li.slick-active button:before {
    color: var(--secondary-color);
    opacity: 1;
}


/* =========================================================
   FEATURE ICON
   ========================================================= */

.feature-icon {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1);
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    background: linear-gradient(
        135deg,
        #1a1a2e,
        #16213e
    ) !important;

    width: 100%;
    max-width: 100%;
}

.navbar-brand {
    font-size: 1.5rem;
}

.navbar .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: var(--secondary-color) !important;
}

.navbar .nav-link.active {
    color: var(--secondary-color) !important;
}


/* =========================================================
   CARD STYLES
   ========================================================= */

.card {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

    overflow: hidden;
}

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

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.1) !important;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

footer a:hover {
    color: var(--secondary-color) !important;
    transition: color 0.3s ease;
}

.social-links a {
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color) !important;
}


/* =========================================================
   MEMBERSHIP CARDS
   ========================================================= */

.membership-card {
    border: none;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.05);

    overflow: hidden;
}

.membership-card .card-header {
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );

    color: white;

    padding: 1.5rem;

    border: none;
}

.membership-card .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.membership-card .price:before {
    content: '₹';

    font-size: 1.5rem;
    font-weight: normal;
}

.membership-card .card-footer {
    background: transparent;
    border-top: none;
    padding: 1.5rem;
}


/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-form .form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.contact-form .form-control:focus {
    border-color: var(--secondary-color);

    box-shadow:
        0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}


/* =========================================================
   MEMBERS GRID
   ========================================================= */

.member-card {
    text-align: center;
    padding: 1.5rem;
    overflow: hidden;
}

.member-image-wrapper {
    width: 120px;
    height: 120px;

    margin: 0 auto;

    border-radius: 50%;
    overflow: hidden;

    border: 3px solid var(--secondary-color);
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #f0f0f0;
}

.member-contact {
    background-color: #f8f9fa;

    padding: 0.5rem;

    border-radius: 0.5rem;

    overflow: hidden;

    word-wrap: break-word;
}


/* =========================================================
   CONTACT ICON
   ========================================================= */

.contact-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 123, 255, 0.1);

    border-radius: 50%;

    flex-shrink: 0;
}


/* =========================================================
   CONTENT PAGE
   ========================================================= */

.content h1,
.content h2,
.content h3 {
    color: var(--dark-color);

    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content ul,
.content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.content li {
    margin-bottom: 0.5rem;
}


/* =========================================================
   DIVIDER
   ========================================================= */

.divider {
    width: 60px;
    height: 4px;

    background: linear-gradient(
        90deg,
        #0056b3,
        #007bff
    );

    margin-bottom: 2rem;
}


/* =========================================================
   IMAGES
   ========================================================= */

img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   TABLE RESPONSIVE
   ========================================================= */

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1600px) {

    .slider-content {
        max-width: 1400px;
    }

}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (max-width: 1399px) {

    .slider-content {
        max-width: 1100px;
    }

}


/* =========================================================
   TABLET / SMALL DESKTOP
   ========================================================= */

@media (max-width: 991px) {

    .slider-item {
        /*
           Keep original banner ratio.
        */
        aspect-ratio: 2164 / 727;

        background-position: center center;
    }

    .slider-content {
        padding: 15px;
    }

    .slider-content h1 {
        font-size: 2rem !important;
        line-height: 1.2;
        margin-bottom: 15px !important;
    }

    .slider-content p {
        font-size: 1rem !important;
        line-height: 1.4;
        margin-bottom: 15px !important;
    }

    .hero-slider .slick-prev {
        left: 10px;
    }

    .hero-slider .slick-next {
        right: 10px;
    }

    .membership-card .price {
        font-size: 2rem;
    }

    .member-image-wrapper {
        width: 100px;
        height: 100px;
    }

}


/* =========================================================
   MOBILE TABLET
   ========================================================= */

@media (max-width: 767px) {

    .slider-item {
        /*
           Keep original banner ratio.
           This prevents distortion.
        */
        aspect-ratio: 2164 / 727;

        background-position: center center;
    }

    .slider-content {
        padding: 10px;
    }

    .slider-content h1 {
        font-size: 1.5rem !important;
        line-height: 1.2;

        margin-bottom: 10px !important;
    }

    .slider-content p {
        font-size: 0.85rem !important;
        line-height: 1.3;

        margin-bottom: 10px !important;
    }

    .slider-content .btn {
        font-size: 0.8rem;

        padding:
            7px 18px !important;
    }

    /* Mobile arrows */
    .hero-slider .slick-prev,
    .hero-slider .slick-next {
        width: 30px;
        height: 30px;
    }

    .hero-slider .slick-prev {
        left: 5px;
    }

    .hero-slider .slick-next {
        right: 5px;
    }

    .hero-slider .slick-prev:before,
    .hero-slider .slick-next:before {
        font-size: 22px;
    }

    /* Mobile dots */
    .hero-slider .slick-dots {
        bottom: 5px;
    }

    .hero-slider .slick-dots li {
        margin: 0 2px;
    }

    .hero-slider .slick-dots li button:before {
        font-size: 7px;
    }

    .membership-card .price {
        font-size: 2rem;
    }

    .member-image-wrapper {
        width: 90px;
        height: 90px;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 576px) {

    .slider-item {
        /*
           Exact original ratio:
           2164 x 727
        */
        aspect-ratio: 2164 / 727;

        background-position: center center;
    }

    .slider-content {
        padding: 5px;
    }

    .slider-content h1 {
        font-size: 1.1rem !important;
        line-height: 1.15;

        margin-bottom: 5px !important;
    }

    .slider-content p {
        font-size: 0.7rem !important;
        line-height: 1.2;

        margin-bottom: 5px !important;
    }

    .slider-content .btn {
        font-size: 0.7rem;

        padding:
            5px 14px !important;
    }

    /*
       Hide arrows on small phones.
       This gives more usable screen space.
    */
    .hero-slider .slick-prev,
    .hero-slider .slick-next {
        display: none !important;
    }

    .hero-slider .slick-dots {
        bottom: 3px;
    }

    .hero-slider .slick-dots li {
        margin: 0 1px;
    }

    .hero-slider .slick-dots li button:before {
        font-size: 6px;
    }

    .member-image-wrapper {
        width: 80px;
        height: 80px;
    }

    .membership-card .price {
        font-size: 1.75rem;
    }

    .membership-card .price:before {
        font-size: 1.25rem;
    }

    /*
       IMPORTANT:
       These container paddings are kept for
       normal website sections.
       They do NOT affect the full-width slider.
    */
    .container,
    .container-fluid {
        padding-left: 8px;
        padding-right: 8px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .slider-item {
        aspect-ratio: 2164 / 727;
    }

    .slider-content h1 {
        font-size: 0.95rem !important;
    }

    .slider-content p {
        font-size: 0.65rem !important;
    }

}


/* =========================================================
   ANIMATION
   ========================================================= */

@keyframes fadeInUp {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.fade-in {
    animation:
        fadeInUp 0.6s ease forwards;
}


/* =========================================================
   UTILITY CLASSES
   ========================================================= */

.overflow-hidden {
    overflow: hidden !important;
}

.overflow-x-hidden {
    overflow-x: hidden !important;
}

.overflow-y-hidden {
    overflow-y: hidden !important;
}

.w-100 {
    width: 100% !important;
    max-width: 100% !important;
}


/* =========================================================
   CARD TEXT / OVERFLOW
   ========================================================= */

.card-body,
.card-footer,
.card-header {
    overflow-wrap: break-word;
    word-wrap: break-word;
}


/* =========================================================
   FORM ELEMENTS
   ========================================================= */

.form-control,
.form-select {
    max-width: 100%;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


/* =========================================================
   LISTS
   ========================================================= */

.list-unstyled {
    padding-left: 0;
}


/* =========================================================
   NAVBAR TOGGLER
   ========================================================= */

.navbar-toggler {
    border:
        1px solid rgba(255, 255, 255, 0.1);
}

.navbar-toggler:focus {
    box-shadow:
        0 0 0 2px var(--secondary-color);
}

/* src/styles/custom.css - Updated with larger sizes */

/* src/styles/custom.css - Updated with larger sizes */

/* Media Club Text - Responsive with Larger Sizes */
.media-club-text {
    font-weight: 900;
    font-family: 'Arial Black', 'Impact', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(45deg, #ffffff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
    line-height: 1.2;
    font-size: clamp(1.2rem, 3.5vw, 2.8rem);
}

/* Responsive adjustments - Larger sizes */
@media (max-width: 1200px) {
    .media-club-text {
        font-size: clamp(1.1rem, 3vw, 2.5rem);
        letter-spacing: 2.5px;
    }
}

@media (max-width: 992px) {
    .media-club-text {
        font-size: clamp(1rem, 2.8vw, 2.2rem);
        letter-spacing: 2px;
    }
}

@media (max-width: 768px) {
    .media-club-text {
        font-size: clamp(0.9rem, 2.5vw, 1.8rem);
        letter-spacing: 1.5px;
    }
}

@media (max-width: 576px) {
    .media-club-text {
        font-size: clamp(0.8rem, 2.2vw, 1.4rem);
        letter-spacing: 1px;
        line-height: 1.1;
    }
}

/* Main logo responsive - Slightly larger */
.main-logo {
    max-width: 280px;
    height: auto;
}

@media (max-width: 1200px) {
    .main-logo {
        max-width: 230px;
    }
}

@media (max-width: 992px) {
    .main-logo {
        max-width: 190px;
    }
}

@media (max-width: 768px) {
    .main-logo {
        max-width: 150px;
    }
}

@media (max-width: 576px) {
    .main-logo {
        max-width: 120px;
    }
}


/* =========================================================
   HEADER CUSTOM STYLES - Logo Center, Menu Below
   ========================================================= */

/* Main Header Container */
.header-custom {
    width: 100%;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
    padding: 0;
}



/* =========================================================
   TOP BAR - LOGO CENTERED
   ========================================================= */

.header-top-bar {
    width: 100%;
    padding: 0px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    display: block;
}

.header-logo-center {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.header-logo-center a {
    display: inline-block;
    margin: 0 auto;
    text-decoration: none;
}

.main-logo {
    display: block;
    margin: 0 auto;
    max-width: 280px;
    height: auto;
    transition: all 0.3s ease;
}

/* =========================================================
   BOTTOM BAR - NAVIGATION MENU CENTERED
   ========================================================= */

.header-bottom-bar {
    width: 100%;
    padding: 0;
    background: rgba(0, 0, 0, 0.15);
}

.header-nav-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Override Bootstrap Navbar defaults */
.header-bottom-bar .navbar {
    padding: 0 !important;
    background: transparent !important;
    width: 100%;
}

.header-bottom-bar .navbar-collapse {
    flex-grow: 0;
    width: 100%;
}

/* Navigation Links */
.header-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center !important;
    align-items: center;
    margin: 0 auto;
    padding: 0;
    gap: 0;
    width: 100%;
}

.header-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 15px;
    padding: 16px 20px !important;
    position: relative;
    transition: all 0.3s ease;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.header-nav .nav-link:hover {
    color: #007bff !important;
    background: rgba(255, 255, 255, 0.05);
}

.header-nav .nav-link.active {
    color: #007bff !important;
}

.header-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #0056b3, #007bff);
    border-radius: 3px 3px 0 0;
}

/* =========================================================
   MOBILE TOGGLE BUTTON
   ========================================================= */

.navbar-toggler-custom {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    z-index: 10;
    display: none;
}

.navbar-toggler-custom:focus {
    outline: none;
    box-shadow: 0 0 0 2px #007bff;
}

.navbar-toggler-custom .navbar-toggler-icon {
    display: block;
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

/* =========================================================
   RESPONSIVE STYLES
   ========================================================= */

/* Large Desktop */
@media (min-width: 1600px) {
    .main-logo {
        max-width: 320px;
    }
    
    .header-nav .nav-link {
        padding: 18px 26px !important;
        font-size: 16px;
    }
}

/* Desktop */
@media (max-width: 1399px) {
    .main-logo {
        max-width: 250px;
    }
    
    .header-nav .nav-link {
        padding: 15px 16px !important;
        font-size: 14px;
    }
}

/* Tablet and below */
@media (max-width: 991px) {
    .header-top-bar {
        padding: 12px 0;
    }
    
    .main-logo {
        max-width: 200px;
    }
    
    .header-bottom-bar {
        padding: 10px 0;
        position: relative;
    }
    
    .header-nav-wrapper {
        min-height: 44px;
    }
    
    /* Show mobile toggle */
    .navbar-toggler-custom {
        display: block;
    }
    
    /* Collapsed menu styling */
    .header-bottom-bar .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #16213e;
        border-radius: 8px;
        margin-top: 10px;
        padding: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        z-index: 1000;
    }
    
    .header-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .header-nav .nav-link {
        padding: 12px 15px !important;
        font-size: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        text-align: center;
        width: 100%;
    }
    
    .header-nav .nav-link:last-of-type {
        border-bottom: none;
    }
    
    .header-nav .nav-link.active::after {
        display: none;
    }
    
    .header-nav .nav-link.active {
        background: rgba(0, 123, 255, 0.2);
        border-radius: 4px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .header-top-bar {
        padding: 10px 0;
    }
    
    .main-logo {
        max-width: 160px;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .main-logo {
        max-width: 130px;
    }
    
    .header-nav .nav-link {
        padding: 11px 12px !important;
        font-size: 14px;
    }
}

/* Very Small Mobile */
@media (max-width: 400px) {
    .main-logo {
        max-width: 110px;
    }
}

/* ============================================
   LOGO SIZE - 600px on Desktop
   ============================================ */

.header-custom .header-top-bar .header-logo-center .header-logo-link .main-logo,
.header-custom .main-logo,
img.main-logo {
    max-width: 600px !important;
    width: 600px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* ============================================
   RESPONSIVE LOGO SIZES
   ============================================ */

/* Large Desktop (1600px+) — full 600px */
@media (min-width: 1600px) {
    .header-custom .main-logo,
    img.main-logo {
        max-width: 600px !important;
        width: 600px !important;
    }
    .header-nav .nav-link {
        padding: 18px 26px !important;
        font-size: 16px;
    }
}

/* Standard Desktop (1400px – 1599px) */
@media (min-width: 1400px) and (max-width: 1599px) {
    .header-custom .main-logo,
    img.main-logo {
        max-width: 550px !important;
        width: 550px !important;
    }
}

/* Small Desktop (1200px – 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .header-custom .main-logo,
    img.main-logo {
        max-width: 480px !important;
        width: 480px !important;
    }
    .header-nav .nav-link {
        padding: 15px 16px !important;
        font-size: 14px;
    }
}

/* Tablet / Small Laptop (992px – 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .header-custom .main-logo,
    img.main-logo {
        max-width: 400px !important;
        width: 400px !important;
    }
    .header-nav .nav-link {
        padding: 14px 14px !important;
        font-size: 14px;
    }
}

/* Tablet (max-width: 991px) */
@media (max-width: 991px) {
    .header-top-bar {
        padding: 12px 0;
    }
    .header-custom .main-logo,
    img.main-logo {
        max-width: 320px !important;
        width: 320px !important;
    }
    .header-bottom-bar {
        padding: 10px 0;
        position: relative;
    }
    .header-nav-wrapper {
        min-height: 44px;
    }
    .navbar-toggler-custom {
        display: block;
    }
    .header-bottom-bar .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #16213e;
        border-radius: 8px;
        margin-top: 10px;
        padding: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        z-index: 1000;
    }
    .header-nav {
        flex-direction: column;
        width: 100%;
    }
    .header-nav .nav-link {
        padding: 12px 15px !important;
        font-size: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        text-align: center;
        width: 100%;
    }
    .header-nav .nav-link:last-of-type {
        border-bottom: none;
    }
    .header-nav .nav-link.active::after {
        display: none;
    }
    .header-nav .nav-link.active {
        background: rgba(0, 123, 255, 0.2);
        border-radius: 4px;
    }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    .header-top-bar {
        padding: 10px 0;
    }
    .header-custom .main-logo,
    img.main-logo {
        max-width: 260px !important;
        width: 260px !important;
    }
}

/* Small Mobile (max-width: 576px) */
@media (max-width: 576px) {
    .header-custom .main-logo,
    img.main-logo {
        max-width: 200px !important;
        width: 200px !important;
    }
    .header-nav .nav-link {
        padding: 11px 12px !important;
        font-size: 14px;
    }
}

/* Very Small Mobile (max-width: 400px) */
@media (max-width: 400px) {
    .header-custom .main-logo,
    img.main-logo {
        max-width: 160px !important;
        width: 160px !important;
    }
}

/* =========================================================
   END OF CUSTOM CSS
   ========================================================= */