/* =========================================
   UNIQUE PREMIUM THEME: Organic Glassmorphism
   ========================================= */
:root {
    --primary: #0d9488;       /* Rich Teal */
    --primary-dark: #0f766e;  /* Deep Teal */
    --accent: #f59e0b;        /* Warm Amber/Gold for CTAs */
    --accent-hover: #d97706;
    --bg-base: #fafaf9;       /* Warm Stone */
    --bg-card: rgba(255, 255, 255, 0.8);
    --text-main: #1c1917;     /* Deep Charcoal */
    --text-muted: #57534e;
    --border-light: rgba(255, 255, 255, 0.6);
    --shadow-soft: 0 8px 32px rgba(13, 148, 136, 0.08);
    --shadow-hover: 0 16px 48px rgba(13, 148, 136, 0.15);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-pill: 999px;
    --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    line-height: 1.8;
    background-color: var(--bg-base);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(13, 148, 136, 0.03) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(245, 158, 11, 0.03) 0%, transparent 25%);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: var(--primary-dark);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =========================================
   UNIQUE BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
    text-decoration: none;
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
    transform: translateY(-3px);
    text-decoration: none;
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

/* =========================================
   HEADER & GLASSMORPHISM NAV
   ========================================= */
.site-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.03em;
}

.logo span {
    color: var(--primary);
}

.main-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 2.5rem;
}

.main-nav a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary);
    text-decoration: none;
}

.main-nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-main);
}

/* =========================================
   HERO SECTION (Mesh Gradient)
   ========================================= */
.hero-section {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 7rem 1rem 8rem;
    overflow: hidden;
}

.hero-mesh-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, #0f766e 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, #0d9488 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, #115e59 0%, transparent 60%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-section h1 {
    font-size: 3.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================
   ARTICLE SECTION (Floating Card Style)
   ========================================= */
.article-section {
    padding: 5rem 0;
    margin-top: -4rem; /* Overlap effect */
    position: relative;
    z-index: 2;
}

.blog-content {
    max-width: 850px;
    margin: 0 auto;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 3.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-soft);
}

.blog-content h2 {
    font-size: 1.85rem;
    color: var(--primary-dark);
    margin-top: 3.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(13, 148, 136, 0.2);
    display: inline-block;
    font-weight: 700;
}

.blog-content h2:first-of-type {
    margin-top: 0;
}

.blog-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-main);
}

.blog-content .text-link {
    color: var(--primary);
    font-weight: 600;
    border-bottom: 1px dashed var(--primary);
}

.blog-content .text-link:hover {
    border-bottom-style: solid;
    background-color: rgba(13, 148, 136, 0.05);
}

/* Custom Unique Lists */
.blog-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
    display: grid;
    gap: 0.75rem;
}

.blog-content li {
    position: relative;
    padding-left: 2.25rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.blog-content li::before {
    content: "💧";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.1rem;
    filter: grayscale(100%) brightness(0.8) sepia(1) hue-rotate(130deg) saturate(3);
}

.blog-content li strong {
    color: var(--text-main);
}

/* =========================================
   CONTACT SECTION (Dark Contrast)
   ========================================= */
.contact-section {
    padding: 6rem 0;
    background-color: var(--primary-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-wrapper {
    position: relative;
    z-index: 1;
    text-align: center;
}

.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.contact-header p {
    font-size: 1.15rem;
    opacity: 0.85;
    margin-bottom: 3.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 3.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.4);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    display: block;
}

.contact-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #fff;
    font-weight: 700;
}

.contact-item p, .contact-item a {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--accent);
    text-decoration: none;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background-color: #0c4a44;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 3rem 0;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.site-footer a:hover {
    color: var(--accent);
}

/* =========================================
   SCROLL TO TOP BUTTON
   ========================================= */
.scroll-to-top {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    background-color: var(--primary);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.4);
}

/* =========================================
   RESPONSIVE DESIGN (Mobile)
   ========================================= */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        width: 100%;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .main-nav.active {
        display: block;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }

    .header-cta {
        display: none;
    }

    .hero-section {
        padding: 5rem 1rem 6rem;
    }

    .hero-section h1 {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .article-section {
        margin-top: -2rem;
        padding: 3rem 0;
    }

    .blog-content {
        padding: 2rem 1.5rem;
    }

    .blog-content h2 {
        font-size: 1.6rem;
    }

    .contact-header h2 {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}