:root {
    /* Colors extracted from footer_bg.webp */
    --primary: #00838F;
    --primary-light: #B2EBF2;
    --accent: #26A69A;
    --accent-green: #66BB6A;
    --accent-glow: rgba(102, 187, 106, 0.3);

    --bg: #F0F9FA;
    --bg-alt: #E0F2F1;
    --white: #ffffff;

    --text: #004D40;
    --text-muted: #546E7A;

    --glass: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(38, 166, 154, 0.15);
    --shadow-soft: 0 20px 50px rgba(0, 77, 64, 0.08);
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Header - Fresh Tropical Glass */
header {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1200px;
    height: 75px;
    background: rgba(0, 18, 25, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 35px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    background: rgba(0, 18, 25, 0.9);
    border-bottom: 1px solid rgba(26, 166, 154, 0.2);
    height: 65px;
}

/* Breadcrumbs - Modern Glass Style */
.breadcrumbs-nav {
    padding: 20px 0;
    margin-top: 10px;
    /* Space for the floating header */
    position: relative;
    z-index: 10;
}

header.scrolled+main .breadcrumbs-nav {
    margin-top: 85px;
}

.breadcrumbs-list {
    display: flex;
    list-style: none;
    gap: 12px;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 500;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
}

.breadcrumb-item a:hover {
    opacity: 1;
    color: var(--accent);
}

.breadcrumb-separator {
    opacity: 0.3;
    font-size: 0.7rem;
}

.breadcrumb-item span[itemprop="name"] {
    white-space: nowrap;
}


header .header-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav ul li a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

nav ul li a:hover {
    opacity: 1;
    color: var(--accent-green);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1002;
    transition: var(--transition);
}

.menu-toggle:hover {
    color: var(--accent-green);
}

@media (max-width: 1160px) {
    header {
        padding: 0 25px;
        width: 95%;
    }

    .menu-toggle {
        display: block;
    }

    .header-inner nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: rgba(0, 18, 25, 0.98);
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 60px 40px;
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1001;
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
    }

    .header-inner nav.active {
        right: 0;
    }

    .header-inner nav ul {
        flex-direction: column;
        gap: 25px;
    }

    .header-inner nav ul li a {
        font-size: 1.2rem;
    }

    .dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 10px 0 0 20px;
        display: none;
        min-width: auto;
    }

    .dropdown.active .dropdown-menu {
        display: flex;
    }

    .dropdown>a::after {
        float: right;
    }
}

/* Dropdown Menu - Premium Glass Style */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(0, 18, 25, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    min-width: 240px;
    border-radius: 25px;
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-menu li {
    padding: 0 10px;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    border-radius: 15px;
    font-size: 0.95rem;
    white-space: nowrap;
    opacity: 0.7;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.05);
    opacity: 1;
    color: var(--accent-green);
    transform: translateX(5px);
}

.dropdown>a::after {
    content: '▾';
    font-size: 0.8rem;
    margin-left: 6px;
    opacity: 0.5;
    transition: var(--transition);
}

.dropdown:hover>a::after {
    transform: rotate(180deg);
    opacity: 1;
}

/* Hero - Immersive Tropical Light */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 100px;
    background: #000;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

.hero-video-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Aquarium Elements */
.hero-aquarium {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    bottom: 50px;
    right: 15%;
    pointer-events: none;
    z-index: 3;
    animation: heroRise infinite ease-in;
}

@keyframes heroRise {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-1000px) translateX(40px);
        opacity: 0;
    }
}

.shrimp {
    position: absolute;
    font-size: 2.2rem;
    bottom: 40px;
    z-index: 4;
    transition: left 8s linear, transform 0.5s;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

.hero-fish {
    position: absolute;
    font-size: 5rem;
    /* Large fish */
    z-index: 5;
    filter: drop-shadow(0 0 30px rgba(0, 168, 168, 0.3));
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    max-width: 1100px;
    margin: 100px auto 30px auto;
    color: var(--white);
    background: linear-gradient(135deg, var(--white) 60%, var(--accent-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: heroReveal 1.2s ease-out;
    letter-spacing: -0.04em;
}

.hero p {
    font-size: clamp(1.4rem, 2.8vw, 1.8rem);
    max-width: 800px;
    margin: 0 auto 50px;
    color: rgba(255, 255, 255, 0.9);
    animation: heroReveal 1.5s ease-out;
}

.btn-prime {
    background: linear-gradient(135deg, var(--accent), var(--accent-green));
    color: var(--white);
    padding: 20px 50px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 15px 45px var(--accent-glow);
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-prime:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 25px 60px var(--accent-glow);
}

/* Bento Grid - Tropical Lush Style */
section {
    padding: 140px 0;
}


.section-tag {
    color: var(--accent-green);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 80px;
    color: var(--text);
    letter-spacing: -0.02em;
}

.start-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 340px);
    gap: 30px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.bento-card {
    background: var(--white);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    border-radius: 45px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition);
    color: var(--text);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

a.bento-card {
    background-size: 150%;
    background-position: center;
    background-repeat: no-repeat;
}

/* Category Page Bento Cards (without card-bg) */
.category-page .bento-card {
    padding: 0;
    justify-content: space-between;
    min-height: 180px;
}

.bento-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 77, 64, 0.12);
}

.bento-card h3 {
    font-size: 1.7rem;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 700;
}

.category-page .bento-card h3 {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    text-shadow: rgb(233, 228, 228) 1px 1px 0, rgb(210, 208, 208) -1px -1px 0, rgb(212, 206, 206) -1px 1px 0, rgb(196, 192, 192) 1px -1px 0;
}

.category-page .bento-card p {
    color: var(--text-muted);
    text-shadow: rgb(233, 228, 228) 1px 1px 0, rgb(210, 208, 208) -1px -1px 0, rgb(212, 206, 206) -1px 1px 0, rgb(196, 192, 192) 1px -1px 0;
}

.bento-card .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s var(--transition);
    z-index: 1;
}

.bento-card .card-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 77, 64, 0.9) 0%, rgba(0, 77, 64, 0.2) 60%, transparent 100%);
    width: 100%;
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
}


.bento-card:hover .card-bg {
    transform: scale(1.1);
}

.bento-card:hover .card-content {
    transform: translateY(0);
}

.bento-card .icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
    display: block;
    background: var(--glass);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    backdrop-filter: blur(10px);
}

.bento-card h3 {
    font-size: 1.7rem;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 700;
}

.bento-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.card-1 .card-bg {
    background-image: url('../img/card_choose.webp');
}

.card-2 .card-bg {
    background-image: url('../img/card_launch.webp');
}

.card-3 .card-bg {
    background-image: url('../img/card_fish.webp');
}

.card-4 .card-bg {
    background-image: url('../img/card_tech.webp');
}

.card-1 {
    grid-column: span 3;
}

.card-2 {
    grid-column: span 3;
}

.card-3 {
    grid-column: span 2;
}

.card-4 {
    grid-column: span 4;
}

/* Popular Articles - Fresh & Clean */
.popular-wrap {
    background: var(--white);
    border-radius: 60px;
    padding: 80px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(38, 166, 154, 0.1);
}

.article-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 0;
    border-bottom: 1px solid rgba(0, 77, 64, 0.08);
    transition: var(--transition);
    text-decoration: none;
}

.article-row:last-child {
    border-bottom: none;
}

.article-row:hover {
    padding-left: 20px;
    border-bottom-color: var(--accent-green);
}

.article-row h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text);
}

.article-row .tag {
    font-size: 0.85rem;
    color: var(--white);
    background: var(--accent);
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 700;
}

/* Footer - Immersive Aquarium Integration */
footer {
    padding: 250px 0 3px 0;
    background: #001219;
    /* Ultra dark aquatic base */
    color: #fff;
    position: relative;
    overflow: hidden;
}

.aquarium-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/footer_bg.webp') no-repeat center bottom;
    background-size: cover;
    z-index: 1;
}

.aquarium-canvas::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(240, 249, 250, 0.4) 0%, rgba(0, 18, 25, 0.9) 85%);
    z-index: 2;
}

.footer-main {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 80px;
    padding: 60px 80px;
    margin-bottom: 60px;
    background: linear-gradient(135deg, rgba(0, 18, 25, 0.6) 0%, rgba(0, 77, 64, 0.4) 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
}

.footer-brand h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--primary-light);
    font-weight: 800;
}

.footer-brand p {
    opacity: 0.7;
    font-size: 1.1rem;
    line-height: 1.8;
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 30px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links ul li {
    margin-bottom: 15px;
    font-size: 1rem;
    transition: 0.3s;
}

.footer-links ul li a {
    color: var(--light-blue);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    position: relative;
    z-index: 10;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 1rem;
    opacity: 0.5;
}

.footer-bottom a {
    color: rgba(197, 246, 247, 0.8);
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animated Fish & Bubbles */
.fish {
    position: absolute;
    z-index: 5;
    filter: drop-shadow(0 0 15px rgba(102, 187, 106, 0.6));
}

.bubble {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(1px);
}

@media (max-width: 1200px) {
    .start-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero h1 {
        font-size: 4rem;
    }
}

/* Calculator Styles - Premium UX */
.page-hero {
    padding: 140px 0 100px;
    background: radial-gradient(circle at top right, var(--bg-alt) 0%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-text .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.hero-master-img {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.hero-master-img img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0, 77, 64, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: block;
    position: relative;
    z-index: 2;
}

.hero-master-img .tech-overlay {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px dashed var(--accent);
    border-radius: 40px;
    z-index: 1;
    opacity: 0.3;
}

.hero-master-img::after {
    content: '0101-TECH-VER-2.0';
    position: absolute;
    bottom: 20px;
    right: -40px;
    transform: rotate(90deg);
    font-size: 0.7rem;
    font-family: monospace;
    color: var(--accent);
    letter-spacing: 5px;
    opacity: 0.5;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(38, 166, 154, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(102, 187, 106, 0.05) 0%, transparent 40%),
        repeating-radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0) 50px);
    background-size: 100% 100%, 100% 100%, 200px 200px;
    opacity: 0.4;
    filter: blur(20px);
    animation: rippleMove 20s infinite linear;
    z-index: 1;
}

@keyframes rippleMove {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }

    100% {
        background-position: 0 0, 0 0, 400px 400px;
    }
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    background: var(--white);
    padding: 60px;
    border-radius: 60px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 100px;
}

.calc-form-wrap h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 40px;
    color: var(--primary);
    font-size: 1.8rem;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.input-group input,
.custom-select {
    width: 100%;
    padding: 18px 25px;
    border: 2px solid var(--bg-alt);
    border-radius: 20px;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg);
    transition: var(--transition);
    outline: none;
}

.custom-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='https://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300838F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
}

.input-group input:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(38, 166, 154, 0.1);
}

.calc-result-wrap {
    background: linear-gradient(135deg, var(--primary) 0%, var(--text) 100%);
    padding: 50px;
    border-radius: 45px;
    color: var(--white);
    position: sticky;
    top: 100px;
}

.result-card {
    text-align: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.res-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    opacity: 0.7;
    display: block;
    margin-bottom: 15px;
}

.res-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
}

.res-value span:last-child {
    font-size: 1.5rem;
    opacity: 0.5;
    margin-left: 10px;
}

.result-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-row span {
    opacity: 0.6;
}

.detail-row strong {
    color: var(--accent-green);
    font-weight: 700;
}

.calc-info {
    margin-top: 40px;
    font-size: 0.85rem;
    opacity: 0.5;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 960px) {
    .calc-grid {
        grid-template-columns: 1fr;
        padding: 40px 25px;
    }

    .res-value {
        font-size: 3.5rem;
    }
}

/* Calculator Info Section */
.section-padding {
    padding: 100px 0;
}

.info-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 20px auto 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.info-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    text-align: center;
}

.info-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: var(--bg);
    border-radius: 25px;
}

.info-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.info-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* SEO Debug Section - Compact Info Bar */
.seo-debug {
    padding: 15px 0;
    background: #f8fcfc;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.seo-debug-card {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
}

.seo-debug-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.6;
}

.seo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.seo-item {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.seo-item strong {
    color: var(--text);
    font-weight: 700;
    white-space: nowrap;
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.seo-item span {
    display: block;
    line-height: 1.4;
}

.seo-item a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 768px) {
    .seo-grid {
        flex-direction: column;
    }
}

.portal-features {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-soft) 0%, #ffffff 100%);
    position: relative;
    z-index: 5;
}

.features-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: -120px;
    /* Overlap with hero */
}

.feature-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 45px 35px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-10px);
    background: #ffffff;
    box-shadow: 0 35px 70px rgba(14, 165, 233, 0.15);
    border-color: var(--primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #2563eb 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 25px;
    color: white;
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.3);
}

.feature-item h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 800;
}

.feature-item p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
}

@media (max-width: 992px) {
    .features-wrapper {
        margin-top: 0;
    }

    .portal-features {
        padding: 60px 0;
    }
}

/* --- Gallery Grid Premium Style --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 30px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 45px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: var(--bg-alt);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0, 131, 143, 0.15);
    z-index: 10;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 77, 64, 0.9) 0%, rgba(0, 77, 64, 0.2) 60%, transparent 100%);
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-overlay p {
    font-size: 0.95rem;
    opacity: 0.8;
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
    margin-bottom: 0;
}

.gallery-item:hover .gallery-overlay h4,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

/* Specific Layout Rules */
.gallery-item.lg {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }
}

@media (max-width: 650px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
        gap: 20px;
    }

    .gallery-item.lg,
    .gallery-item.wide,
    .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-overlay {
        opacity: 1;
        padding: 25px;
    }

    .gallery-overlay h4,
    .gallery-overlay p {
        transform: translateY(0);
    }
}

/* --- Rich Article Content Styles --- */

.content-page {
    padding-bottom: 100px;
}

.article-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.article-nav {
    position: sticky;
    top: 100px;
    background: var(--white);
    padding: 30px;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
}

.article-nav h4 {
    margin-bottom: 20px;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
}

.article-nav ul {
    list-style: none;
}

.article-nav ul li {
    margin-bottom: 12px;
}

.article-nav ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
    display: block;
}

.article-nav ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.article-content section {
    padding: 20px 0;
}

.article-content h1 {
    font-size: 3rem;
    margin-bottom: 40px;
    line-height: 1.2;
}

.article-content h2 {
    font-size: 2rem;
    margin: 60px 0 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-light);
}

.article-content h3 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    color: var(--primary);
}

.article-content p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--text);
}

/* Info Boxes */
.info-box {
    margin: 40px 0;
    padding: 35px;
    border-radius: 30px;
    display: flex;
    gap: 25px;
    border-left: 8px solid;
}

.info-box.fact {
    background: var(--bg-alt);
    border-color: var(--primary);
}

.info-box.warning {
    background: #FFEBEE;
    border-color: #EF5350;
    color: #C62828;
}

.info-box.tip {
    background: #F1F8E9;
    border-color: var(--accent-green);
}

.info-box .icon {
    font-size: 2rem;
    flex-shrink: 0;
}

/* Scientific Table */
.scientific-table-wrap {
    overflow-x: auto;
    margin: 40px 0;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.scientific-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.scientific-table th {
    background: var(--primary);
    color: var(--white);
    padding: 20px;
    text-align: left;
    font-weight: 600;
}

.scientific-table td {
    padding: 20px;
    border-bottom: 1px solid var(--bg-alt);
    font-size: 1rem;
}

.scientific-table tr:last-child td {
    border-bottom: none;
}

/* Quote */
.quote-block {
    margin: 60px 0;
    padding: 40px 60px;
    background: var(--white);
    border-radius: 40px;
    position: relative;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--primary);
    box-shadow: var(--shadow-soft);
}

.quote-block::before {
    content: '“';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    opacity: 0.1;
    line-height: 1;
}

/* FAQ */
.faq-section {
    margin-top: 80px;
}

.faq-item {
    background: var(--white);
    border-radius: 25px;
    margin-bottom: 20px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.faq-question {
    padding: 25px 35px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg);
    transition: var(--transition);
}

.faq-question .icon {
    transition: var(--transition);
    color: var(--accent);
    font-size: 0.8rem;
}

.faq-item.active .faq-question .icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 35px;
    display: none;
    border-top: 1px solid var(--bg-alt);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Article Images */
.article-image-box,
.article-image {
    margin: 40px 0;
    text-align: center;
}

.article-image-box img,
.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 40px;
    box-shadow: var(--shadow-deep);
    display: block;
    margin: 0 auto 20px;
    border: 1px solid var(--glass-border);
}

.article-image-caption {
    font-size: 1.1rem;
    color: var(--secondary);
    font-style: italic;
    font-weight: 500;
    opacity: 0.8;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 40px 0;
    border-radius: 24px;
    box-shadow: var(--shadow-deep);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.hero-image-full {
    width: 100%;
    margin-top: 40px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-deep);
    border: 1px solid var(--glass-border);
    background: var(--bg-alt);
}

.hero-image-full img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 550px;
}

/* Fish Grid and Cards for Sorting Pages */
.fish-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.fish-card {
    background: var(--white);
    padding: 30px;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.fish-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-deep);
    border-color: var(--accent);
}

.card-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 20px;
}

.fish-card h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.fish-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex: 1;
}

.fish-card .read-more {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.fish-card .read-more:hover {
    color: var(--accent-green);
    padding-left: 5px;
}


@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-nav {
        display: none;
    }
}



/* PLANSHET */
@media (max-width: 1024px) {}


/* MOBIL */
@media (max-width: 764px) {
    nav.active .dropdown-menu {
        transform: none;
        left: 5%;
    }

    .section-title,
    h1 {
        font-size: 2.5rem;
    }
}