:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #f0fdfa;
    --secondary: #0f172a;
    --accent: #F6AD55;
    --text: #374151;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.6; background-color: var(--white); overflow-x: hidden; scroll-behavior: smooth; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--secondary); font-weight: 700; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.mb-12 { margin-bottom: 3rem; }
.mt-12 { margin-top: 3rem; }
.text-center { text-align: center; }
.w-full { width: 100%; }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.animate-fade-in { animation: fadeIn 1s ease forwards; }
.animate-slide-up { animation: fadeInUp 1s ease forwards; }
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: white; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: 0.3s; }
.nav-links a:hover { opacity: 0.8; }

/* Hero Section */
.hero-section {
    background: var(--primary);
    color: white;
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero-content h1 { font-size: 3.5rem; color: white; margin-bottom: 24px; line-height: 1.1; }
.hero-content p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 40px; max-width: 550px; }
.hero-btns { display: flex; gap: 16px; margin-bottom: 30px; }
.text-highlight { color: #facc15; }

.badge-light {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.btn { padding: 14px 32px; border-radius: 12px; font-weight: 600; cursor: pointer; transition: 0.3s; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; border: none; }
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.btn-outline-white { border: 2px solid white; color: white; background: transparent; }
.btn-outline-white:hover { background: white; color: var(--primary); }
.btn-outline-primary { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline-primary:hover { background: var(--primary); color: white; }

.hero-image-container img {
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    transform: perspective(1000px) rotateY(-5deg);
    max-width: 100%;
}

/* Features */
.section-header h2 { font-size: 2.5rem; margin-bottom: 16px; }
.section-subtitle { color: var(--text-light); font-size: 1.1rem; max-width: 650px; margin: 0 auto; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.feature-card { padding: 40px; border-radius: 24px; border: 1px solid var(--border); background: white; transition: 0.3s; }
.feature-card:hover { border-color: var(--primary); transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.icon-circle { width: 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 24px; }

/* Blog Section Styles */
.blog-grid-full { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 30px; 
}
.hidden-posts-container {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: inherit;
    gap: inherit;
}
.hidden-posts-container.show-all {
    display: grid;
    margin-top: 30px;
}
.blog-card-simple { 
    background: white; 
    border-radius: 24px; 
    overflow: hidden; 
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.blog-card-simple:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 30px rgba(0,0,0,0.08);
}
.blog-card-simple img { 
    width: 100%; 
    height: 220px; 
    object-fit: cover; 
}
.blog-card-simple-body { 
    padding: 24px; 
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.category-tag { 
    color: var(--primary); 
    font-weight: 700; 
    font-size: 0.7rem; 
    text-transform: uppercase; 
    margin-bottom: 12px; 
    display: block;
    letter-spacing: 0.5px;
}
.blog-card-simple h3 { 
    font-size: 1.25rem; 
    margin-bottom: 12px; 
    line-height: 1.4;
    color: var(--secondary);
}
.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.read-more { 
    margin-top: auto;
    color: var(--primary); 
    font-weight: 700; 
    font-size: 0.9rem; 
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.read-more:hover i { transform: translateX(5px); transition: 0.3s; }

/* Blog Content Styling (for single post pages) */
article {
    max-width: 850px;
    margin: 0 auto;
    padding: 60px 20px;
}
article h1 { font-size: 3rem; margin-bottom: 2rem; line-height: 1.2; color: var(--secondary); }
article h2 { font-size: 2rem; margin: 3rem 0 1.5rem; color: var(--secondary); border-left: 6px solid var(--primary); padding-left: 20px; }
article h3 { font-size: 1.5rem; margin: 2rem 0 1rem; color: var(--primary); }
article p { margin-bottom: 1.8rem; font-size: 1.15rem; color: var(--text); line-height: 1.8; }
article img { width: 100%; border-radius: 24px; margin: 2.5rem 0; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
article ul { margin-bottom: 2rem; padding-left: 1.5rem; }
article li { margin-bottom: 1rem; font-size: 1.1rem; list-style: none; position: relative; padding-left: 30px; }
article li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: bold; }

/* Footer */
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }
footer h4 { color: white; margin-bottom: 25px; font-size: 1.1rem; }
footer a { display: block; color: #94a3b8; margin-bottom: 12px; text-decoration: none; transition: 0.3s; }
footer a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 60px; padding-top: 30px; color: #64748b; font-size: 0.9rem; text-align: center; }

/* Responsive */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-btns { justify-content: center; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .feature-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.8rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .blog-grid-full { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

@media (max-width: 640px) {
    article h1 { font-size: 2.2rem; }
    article h2 { font-size: 1.8rem; }
    .blog-grid-full { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; }
}

.skip-to-main {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-to-main:focus {
    position: static;
    width: auto;
    height: auto;
    background: white;
    padding: 10px;
    z-index: 9999;
}