* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0F766E, #14B8A6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity .5s, visibility .5s
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden
}

.preloader-plane {
    animation: flyPlane 2s ease-in-out infinite
}

@keyframes flyPlane {

    0%,
    100% {
        transform: translateX(0) translateY(0)
    }

    25% {
        transform: translateX(20px) translateY(-10px) rotate(5deg)
    }

    50% {
        transform: translateX(0) translateY(-20px)
    }

    75% {
        transform: translateX(-20px) translateY(-10px) rotate(-5deg)
    }
}

.preloader-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    letter-spacing: 3px;
    margin-top: 15px
}

.preloader-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    margin: 0 4px;
    animation: dotBounce 1.4s ease-in-out infinite
}

.preloader-dots span:nth-child(2) {
    animation-delay: .2s
}

.preloader-dots span:nth-child(3) {
    animation-delay: .4s
}

@keyframes dotBounce {

    0%,
    80%,
    100% {
        transform: scale(.6);
        opacity: .5
    }

    40% {
        transform: scale(1);
        opacity: 1
    }
}

::-webkit-scrollbar {
    width: 8px
}

::-webkit-scrollbar-track {
    background: #f1f1f1
}

::-webkit-scrollbar-thumb {
    background: #0F766E;
    border-radius: 10px
}

.navbar-scrolled {
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
    backdrop-filter: blur(20px)
}

.navbar-scrolled .nav-link {
    color: #1E293B !important
}

.navbar-scrolled .nav-logo {
    color: #0F766E !important
}

.navbar-scrolled .nav-cta {
    background: #0F766E !important;
    color: white !important
}

.navbar-scrolled .menu-icon {
    color: #1E293B !important
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1)
}

.mobile-menu.active {
    transform: translateX(0)
}

.mobile-overlay {
    opacity: 0;
    visibility: hidden;
    transition: all .3s
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible
}

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.page-hero-overlay {
    background: linear-gradient(to top, rgba(30, 41, 59, .95), rgba(15, 118, 110, .6), transparent)
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, .5);
    border-radius: 50%;
    margin: 0 10px;
    vertical-align: middle
}

/* Reading Progress */
.read-progress {
    height: 3px;
    background: linear-gradient(90deg, #0F766E, #14B8A6, #F59E0B);
    width: 0;
    position: fixed;
    top: 64px;
    left: 0;
    z-index: 999;
    transition: width .05s
}

@media(min-width:768px) {
    .read-progress {
        top: 80px
    }
}

/* Article Content Styling */
.article-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1E293B;
    margin: 2rem 0 1rem;
    padding-top: 1rem;
    border-top: 1px solid #E5E7EB
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1E293B;
    margin: 1.5rem 0 .75rem
}

.article-content p {
    color: #4B5563;
    font-size: .95rem;
    line-height: 1.85;
    margin-bottom: 1.25rem
}

.article-content ul,
.article-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
    color: #4B5563;
    font-size: .95rem;
    line-height: 1.85
}

.article-content li {
    margin-bottom: .5rem
}

.article-content blockquote {
    border-left: 4px solid #0F766E;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    background: #F0FDFA;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #374151
}

.article-content a {
    color: #0F766E;
    text-decoration: underline;
    font-weight: 500
}

.article-content img {
    border-radius: 16px;
    margin: 1.5rem 0;
    width: 100%
}

.article-content .tip-box {
    background: #FEF3C7;
    border: 1px solid #FDE68A;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 12px;
    align-items: flex-start
}

.article-content .info-box {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 12px;
    align-items: flex-start
}

/* TOC */
.toc-link {
    transition: all .2s
}

.toc-link:hover {
    color: #0F766E;
    padding-left: 4px
}

.toc-link.active {
    color: #0F766E;
    font-weight: 600;
    border-left-color: #0F766E
}

/* Share */
.share-btn {
    transition: all .3s
}

.share-btn:hover {
    transform: translateY(-3px)
}

/* Floating Share */
.floating-share {
    opacity: 0;
    visibility: hidden;
    transition: all .3s
}

.floating-share.visible {
    opacity: 1;
    visibility: visible
}

/* Comment */
.comment-card {
    transition: all .2s
}

.comment-card:hover {
    background: #F9FAFB
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 14px;
    transition: all .3s;
    background: white;
    outline: none;
    font-family: 'Poppins', sans-serif
}

.form-input:focus {
    border-color: #0F766E;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, .08)
}

.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 14px;
    transition: all .3s;
    background: white;
    outline: none;
    resize: vertical;
    min-height: 120px;
    font-family: 'Poppins', sans-serif
}

.form-textarea:focus {
    border-color: #0F766E;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, .08)
}

/* Related Card */
.related-card {
    transition: all .4s ease
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .12)
}

.related-card:hover .related-img {
    transform: scale(1.08)
}

.related-img {
    transition: transform .6s ease
}

/* Like Button */
.like-btn {
    transition: all .3s
}

.like-btn.active {
    color: #EF4444
}

.like-btn.active svg {
    fill: #EF4444
}

/* Recent Post */
.recent-post {
    transition: all .2s
}

.recent-post:hover {
    background: #F9FAFB
}

.recent-post:hover .recent-img {
    transform: scale(1.05)
}

.recent-img {
    transition: transform .3s
}

.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all .3s
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: left .5s
}

.btn-primary:hover::before {
    left: 100%
}

.back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: all .3s
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, .3)
}

/* Copy link toast */
.copy-toast {
    opacity: 0;
    transform: translateY(10px);
    transition: all .3s;
    pointer-events: none
}

.copy-toast.show {
    opacity: 1;
    transform: translateY(0)
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
}

.main-wrapper,
.wrapper,
.page-wrapper,
.site-wrapper {
    width: 100%;
    overflow: hidden;
}

section {
    max-width: 100%;
}