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

.custom-navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 14px 0;
    transition: 0.35s ease;
}

/* LOGO */

.navbar-brand img {
    transition: 0.35s ease;
}

.navbar-brand:hover img {
    transform: scale(1.03);
}

/* NAV LINKS */

.custom-navbar .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-size: 15px;
    font-weight: 600;
    margin: 0 8px;
    position: relative;
    transition: 0.3s ease;
    text-decoration: none;
}

/* HOVER */

.custom-navbar .nav-link:hover {
    color: #ffffff !important;
}

/* ACTIVE */

.custom-navbar .nav-link.active {
    color: #ffffff !important;
}

/* UNDERLINE */

.custom-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    border-radius: 50px;
    background: linear-gradient(90deg,#6366f1,#7c3aed);
    transition: 0.3s ease;
}

.custom-navbar .nav-link:hover::after,
.custom-navbar .nav-link.active::after {
    width: 100%;
}

/* TOGGLER */

.navbar-toggler {
    border: none;
    box-shadow: none !important;
}

/* WHITE TOGGLER ICON */

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,0.95%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* DROPDOWN BUTTON */

.nav-dropdown-btn {
    color: white;
    border: none;
    background: transparent;
    padding: 0 6px;
    box-shadow: none !important;
}

.nav-dropdown-btn::after {
    color: white;
}

.nav-dropdown-btn:hover,
.nav-dropdown-btn:focus {
    background: transparent;
    color: white;
}

/* DROPDOWN MENU */

.dropdown-menu {
    border: none;
    border-radius: 14px;
    padding: 12px;
    min-width: 240px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    animation: dropdownFade 0.25s ease;
}

/* DROPDOWN ITEMS */

.dropdown-item {
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 500;
    transition: 0.3s;
}

.dropdown-item:hover {
    background: #eef2ff;
    color: #4f46e5;
    transform: translateX(4px);
}

/* DESKTOP HOVER */

@media(min-width:992px){

    .nav-item.dropdown:hover .dropdown-menu {

        margin-top: 0;
    }

}

/* MOBILE */

@media(max-width:991px){

    .navbar-collapse {
        background: rgba(15,23,42,0.98);
        padding: 20px;
        border-radius: 18px;
        margin-top: 18px;
    }

    .custom-navbar .nav-link {
        margin: 10px 0;
    }

    .dropdown-menu {
        background: rgba(255,255,255,0.05);
        border: none;
        box-shadow: none;
        margin-top: 10px;
    }

    .dropdown-item {
        color: #fff;
    }

    .dropdown-item:hover {
        background: rgba(255,255,255,0.08);
        color: #fff;
    }

}

/* ANIMATION */

@keyframes dropdownFade {

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

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

}



/** AUTHOR SECTION */

.author-section {
    position: relative;
    padding: 120px 20px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(99, 102, 241, 0.18), transparent 35%),
        radial-gradient(circle at bottom right, rgba(124, 58, 237, 0.18), transparent 35%),
        linear-gradient(135deg, #020617, #0f172a 55%, #111827);
}

/* Animated Glow */
.author-section::before,
.author-section::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.22;
    z-index: 0;
    animation: floatGlow 8s ease-in-out infinite alternate;
}

.author-section::before {
    background: #7c3aed;
    top: -120px;
    left: -100px;
}

.author-section::after {
    background: #3b82f6;
    bottom: -120px;
    right: -100px;
    animation-delay: 2s;
}

@keyframes floatGlow {
    0% {
        transform: translateY(0px) scale(1);
    }

    100% {
        transform: translateY(20px) scale(1.08);
    }
}

/* Main Box */
.author-section .container {
    position: relative;
    z-index: 2;
    max-width: 950px;
    margin: auto;
    text-align: center;

    padding: 70px 50px;
    border-radius: 28px;

    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.06);

    transition: 0.4s ease;
}

.author-section .container:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 80px rgba(124, 58, 237, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

/* Small Label */
.author-section .container::before {
    content: "TRUST & QUALITY";
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);

    background: linear-gradient(135deg, #6366f1, #7c3aed);
    color: white;

    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;

    padding: 8px 18px;
    border-radius: 30px;

    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.35);
}

/* Heading */
.author-section h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;

    background: linear-gradient(135deg, #ffffff, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    margin-bottom: 25px;
}

/* Paragraph */
.author-section p {
    font-size: 17px;
    line-height: 1.9;
    color: #cbd5e1;

    max-width: 760px;
    margin: auto;
}

/* Decorative Line */
.author-section p::after {
    content: "";
    display: block;

    width: 120px;
    height: 4px;

    margin: 35px auto 0;

    border-radius: 10px;

    background: linear-gradient(90deg, #6366f1, #7c3aed);
}

/* Responsive */
@media(max-width:768px) {

    .author-section {
        padding: 90px 20px;
    }

    .author-section .container {
        padding: 50px 25px;
    }

    .author-section h2 {
        font-size: 30px;
    }

    .author-section p {
        font-size: 15px;
        line-height: 1.8;
    }
}
