
#page-title {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

#page-description {
    text-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.25);
}

.hero {

    background-color: #0ea5a4; 

    background-image:
      linear-gradient(135deg, rgba(14,165,164,0.95) 0%, rgba(6,182,164,0.95) 100%),
      url('https://storage.googleapis.com/workspace-0f70711f-8b4e-4d94-86f1-2a93ccde5887/image/4c64264c-b003-4865-981e-872029c04945.png');

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

    background-attachment: scroll;

    min-height: 60vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white, #fff);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 30% 70%, rgba(174, 223, 247, 0.12) 0%, transparent 40%),
      radial-gradient(circle at 70% 30%, rgba(14,165,164,0.10) 0%, transparent 40%),
      linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.06));
    pointer-events: none;
    z-index: 0;
}
.hero .hero-content,
.hero .hero-text,
.hero > * {
    position: relative;
    z-index: 1;
}


main {
    padding-top: 80px;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 { width: 80px; height: 80px; top: 20%; left: 10%; animation-delay: 0s; }
.shape-2 { width: 120px; height: 120px; top: 60%; right: 15%; animation-delay: 2s; }
.shape-3 { width: 60px; height: 60px; bottom: 20%; left: 20%; animation-delay: 4s; }

.contact-item:hover {
    background: var(--gray-100);
    transform: translateX(8px);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.1);
    transform: translateY(-2px);
}

.editor-btn {
    padding: 0.75rem;
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    font-size: 0.9rem;
}

.editor-btn:hover {
    background: linear-gradient(135deg, #0ea5a4 0%, #06b6a4 100%);
    color: white;
    transform: translateY(-1px);
}

.editor-btn:active {
    transform: translateY(0);
    background: linear-gradient(135deg, #089e95 0%, #05a08f 100%);
}

.editor-btn.active {
    background: linear-gradient(135deg, #AEDFF7 0%, #87CEEB 100%);
    color: #333333;
    font-weight: 600;
}

.content-editor-improved {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    background: #ffffff;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

.content-editor-improved:focus {
    background: #fafafa;
}

.content-editor-improved:empty + #editor-placeholder {
    opacity: 1;
}

.content-editor-improved:not(:empty) + #editor-placeholder {
    opacity: 0;
}

.content-editor-improved h1,
.content-editor-improved h2,
.content-editor-improved h3,
.content-editor-improved h4,
.content-editor-improved h5,
.content-editor-improved h6 {
    color: #0ea5a4;
    font-weight: bold;
    margin: 1.5rem 0 1rem 0;
    font-family: 'Poppins', sans-serif;
}

.content-editor-improved h1 { font-size: 1.875rem; }
.content-editor-improved h2 { font-size: 1.5rem; }
.content-editor-improved h3 {
    font-size: 1.25rem;
    border-bottom: 2px solid #AEDFF7;
    padding-bottom: 0.5rem;
}

.content-editor-improved ul,
.content-editor-improved ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.content-editor-improved li {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.content-editor-improved ul li {
    list-style-type: none;
    position: relative;
}

.content-editor-improved ul li::before {
    content: "•";
    color: #0ea5a4; 
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
    font-size: 1.2rem;
}

.content-editor-improved ol li {
    list-style-type: decimal;
    list-style-position: outside;
}

.content-editor-improved p {
    margin: 1rem 0;
    line-height: 1.7;
}

.content-editor-improved strong {
    font-weight: 600;
    color: #1f2937;
}

.content-editor-improved em {
    font-style: italic;
    color: #4b5563;
}

.content-editor-improved u {
    text-decoration: underline;
    text-decoration-color: #0ea5a4; 
    text-decoration-thickness: 2px;
}

#word-count {
    transition: all 0.3s ease;
}

#word-count.updated {
    color: #0ea5a4;
    font-weight: 600;
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        background-attachment: scroll;
    }
    .contact-card {
        padding: 2rem;
    }
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .contact-icon {
        align-self: center;
    }
    .editor-btn {
        padding: 0.6rem;
        min-width: 40px;
        font-size: 0.8rem;
    }
    .content-editor-improved {
        padding: 1rem;
        min-height: 250px;
    }
    #editor-placeholder {
        top: 1rem;
        left: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 50vh;
    }
    .contact-card {
        padding: 1.5rem;
    }
    .contact-card h3 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    .form-input {
        padding: 0.875rem 1rem;
    }
}

.form-input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

@media print {
    .hero {
        display: none;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}