/* ==========================================================================
   VARELA TAX SERVICE - MODERN EXECUTIVE BLUE & WHITE THEME
   ========================================================================== */

:root {
    --primary-blue: #0044ff;      /* Core Royal Blue from VTS Logo */
    --navy-dark: #0f172a;         /* Deep corporate navy for headers/footers */
    --bg-light: #f8fafc;          /* High-end soft gray-blue background */
    --text-dark: #1e293b;         /* Crisp charcoal for readable text */
    --text-muted: #64748b;        /* Soft slate for secondary text */
    --pure-white: #ffffff;
}

/* Base Reset & Smooth Behavior */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light); 
    line-height: 1.6;
}

/* Structural Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   1. NAVIGATION BAR (Perfectly Centered & Structured)
   ========================================================================== */
.navbar {
    display: flex;
    flex-direction: column;     /* Stacks logo above the menu items */
    align-items: center;         /* Centers everything horizontally */
    justify-content: center;
    padding: 2rem 2rem 1.5rem 2rem;
    background-color: var(--pure-white);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
    gap: 1.5rem;
}

.logo {
    height: auto;
    width: 380px;               /* Keeps your brand prominent */
    max-width: 90%;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    padding: 0;
    margin: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* ==========================================================================
   2. HERO SHOWCASE (Premium Centered Gradient Workspace)
   ========================================================================== */
.hero {
    background: radial-gradient(circle at top, #e6eeff 0%, var(--bg-light) 100%);
    padding: 8rem 2rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--navy-dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero h1 span {
    color: var(--primary-blue);
}

.hero p {
    font-size: 1.35rem;
    max-width: 720px;
    margin: 0 auto 3rem auto;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Interactive Button Framework */
.btn {
    padding: 0.9rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--pure-white);
    box-shadow: 0 4px 14px rgba(0, 68, 255, 0.25);
}

.btn-primary:hover {
    background-color: #0036cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 68, 255, 0.35);
}

.btn-secondary {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background-color: transparent;
}

.btn-secondary:hover {
    background-color: rgba(0, 68, 255, 0.05);
    transform: translateY(-2px);
}

/* ==========================================================================
   3. CREDENTIALS STRIP (Fully Centered Badges)
   ========================================================================== */
.credentials-bar {
    background-color: var(--navy-dark); 
    color: var(--pure-white);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 1.75rem 2rem;
    gap: 4rem; 
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2);
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ==========================================================================
   4. ABOUT SECTION (Centered Dynamic Layout Blocks)
   ========================================================================== */
.about-section {
    background-color: var(--pure-white);
    border-bottom: 1px solid #e2e8f0;
}

.about-layout {
    display: flex;
    flex-direction: column;    
    align-items: center;       
    text-align: center;        
    gap: 4rem;
}

.about-text {
    max-width: 850px;          
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--navy-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    color: var(--text-dark);
    text-align: justify;       
    text-justify: inter-word;
}

.about-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.profile-pic {
    width: 100%;
    max-width: 650px;          
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

/* ==========================================================================
   5. SERVICES BLOCK (3-Column Framed Grid Layout)
   ========================================================================== */
.services-bg {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--navy-dark);
    margin-bottom: 3.5rem;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--pure-white);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    border-top: 5px solid var(--primary-blue);
    text-align: center;        
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    color: var(--navy-dark);
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ==========================================================================
   6. REFERRAL PROGRAM BANNER (Centered Full-Width Callout)
   ========================================================================== */
.referral-banner {
    background: linear-gradient(135deg, #0036cc 0%, var(--primary-blue) 100%);
    color: var(--pure-white);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 68, 255, 0.15);
}

.referral-banner h2 {
    color: var(--pure-white);
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.referral-banner p {
    font-size: 1.25rem;
    max-width: 850px;
    margin: 0 auto;
    opacity: 0.95;
}

/* ==========================================================================
   7. CONTACT MATRIX (Clean Centered Layout Balance)
   ========================================================================== */
.contact-section {
    background-color: var(--pure-white);
    text-align: center;
}

.contact-sub {
    margin-bottom: 4rem;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    text-align: center;
}

.contact-card {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.contact-card h3 {
    font-size: 1.4rem;
    color: var(--navy-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact-card p {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

/* FIXED: Target only explicit links inside info text so button elements aren't targeted */
.contact-card p > a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
}

.contact-card p > a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   8. CLIENT FEEDBACK & REVIEW BLOCK
   ========================================================================== */
.review-card {
    max-width: 600px;
    margin: 4rem auto 0 auto;       
    padding: 2.5rem;
    background-color: var(--bg-light); 
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;         
    align-items: center;            
    gap: 1.5rem;                    
}

.review-card h3 {
    color: var(--primary-blue);     
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

.review-text {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.review-action {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;            
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
footer {
    background-color: var(--navy-dark);
    color: #94a3b8;
    text-align: center;
    padding: 3rem;
    font-size: 0.95rem;
    border-top: 1px solid #1e293b;
}

/* ==========================================================================
   10. DESKTOP & MOBILE MEDIA QUERIES
   ========================================================================== */
@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        max-width: 900px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .navbar {
        gap: 1rem;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .credentials-bar {
        gap: 1.5rem;
    }
}
/* ==========================================================================
   PROMO BANNER STYLING (High-Contrast Executive Accent Block)
   ========================================================================== */
.promo-section {
    background: radial-gradient(circle at top right, #0052cc 0%, var(--navy-dark) 100%);
    color: var(--pure-white);
    padding: 5rem 2rem;
    text-align: center;
    border-bottom: 1px solid #1e293b;
}

.promo-container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.promo-badge {
    background-color: rgba(255, 255, 255, 0.15);
    color: #e6eeff;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.promo-section h2 {
    font-size: 2.5rem;
    color: var(--pure-white);
    font-weight: 800;
    margin: 0;
}

.promo-main-offer {
    font-size: 1.4rem;
    color: #e6eeff;
    max-width: 700px;
    margin: 0;
}

.promo-main-offer strong {
    color: var(--pure-white);
    font-size: 1.7rem;
    text-decoration: underline;
}

.promo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
    margin: 1.5rem 0;
    text-align: left;
}

.promo-feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.promo-feature-item span {
    font-size: 1.5rem;
    line-height: 1;
}

.promo-feature-item p {
    font-size: 1.05rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

.promo-feature-item strong {
    color: var(--pure-white);
}

.promo-action {
    margin-top: 1rem;
}

/* Specific clean interactive white button modifier */
.btn-white {
    background-color: var(--pure-white);
    color: var(--navy-dark);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .promo-section {
        padding: 4rem 1.5rem;
    }
    .promo-section h2 {
        font-size: 2rem;
    }
    .promo-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
