@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Montserrat:wght@700;800&display=swap');

:root {
    --primary-blue: #003366;
    --navy: #001f3f;
    --accent-green: #28a745;
    --text-dark: #333;
    --text-muted: #666;
    --bg-light: #f8f9fa;
    --border-color: #eee;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --radius: 8px;
    --max-width: 800px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

/* Header & Navigation */
header {
    border-bottom: 3px solid var(--primary-blue);
    padding: 1rem 0;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-blue);
    text-transform: uppercase;
}

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

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links span {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    text-transform: uppercase;
}

/* Article Hero */
.main-content {
    max-width: var(--max-width);
    margin: 40px auto;
    padding: 0 20px;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--navy);
}

.subheadline {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.meta-info {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.author-name {
    font-weight: 700;
}

.pub-date {
    color: var(--text-muted);
}

.hero-img-container {
    margin-bottom: 30px;
}

.hero-img-container img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Content Styles */
.article-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin: 40px 0 20px;
    color: var(--navy);
}

/* Testimonials */
.testimonials {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius);
    margin: 40px 0;
}

.testimonial-card {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd;
}

.testimonial-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-content blockquote {
    font-style: italic;
    color: var(--text-dark);
}

.testimonial-name {
    display: block;
    font-weight: 700;
    margin-top: 5px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 50px 30px;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 50px;
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
}

.cta-container h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.cta-container p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    background: var(--accent-green);
    color: white;
    padding: 20px 50px;
    border-radius: 40px;
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4);
    text-transform: uppercase;
}

/* Geolocation Alert (Inside CTA) */
.geo-alert {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    margin-top: 25px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.9rem;
    animation: fadeIn 0.8s ease-out;
    color: white;
}

.geo-alert .pulse-icon {
    width: 10px;
    height: 10px;
    background: #00ff00; /* Green for success/live feel on dark bg */
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 255, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 0, 0); }
}

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

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    background: var(--bg-light);
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 10px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    .nav-links { display: none; }
    .main-content { margin: 20px auto; }
}
