/* ==========================================
   Yvonne Yeung - Insurance Broker Website
   Color Theme: Blue (#1e3a5f) + Gold (#c9a227)
   ========================================== */

/* CSS Variables */
:root {
    --primary-color: #1e3a5f;
    --secondary-color: #c9a227;
    --accent-color: #2d5a87;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-cream: #faf8f5;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    --gradient-gold: linear-gradient(135deg, #c9a227 0%, #dbb530 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   Top Bar
   ========================================== */
.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.top-bar-left a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left a:hover {
    color: var(--secondary-color);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 5px;
}

.language-switcher a {
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.language-switcher a:hover,
.language-switcher a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
}

/* Social Icons in Top Bar */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.social-icons a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* ==========================================
   Header
   ========================================== */
.header {
    background: var(--white);
    position: fixed;
    top: 42px;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: top 0.3s ease;
}

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

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
}

.logo a:hover {
    opacity: 0.85;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 18px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-title {
    font-size: 12px;
    color: var(--text-light);
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
}

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

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

/* CTA Button in Nav */
.nav-cta {
    background: var(--gradient-gold);
    color: var(--white) !important;
    padding: 12px 24px !important;
    border-radius: 30px;
    font-weight: 600 !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    background: var(--gradient-primary);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    background: rgba(201, 162, 39, 0.2);
    color: var(--secondary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid var(--secondary-color);
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

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

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #3d6a9f 0%, #1e3a5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 80px;
}

/* Stats Badge */
.hero-stats {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 30px;
}

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

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

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

.btn-outline-dark:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ==========================================
   Section Styles
   ========================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(30, 58, 95, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Background Variants */
.bg-light {
    background: var(--bg-light);
}

.bg-cream {
    background: var(--bg-cream);
}

.bg-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

/* ==========================================
   Why Choose Section
   ========================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* ==========================================
   Services Section
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    height: 180px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--white);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    gap: 12px;
}

/* ==========================================
   Living Benefits Section
   ========================================== */
.abr-section {
    background: var(--gradient-primary);
    color: var(--white);
}

.abr-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.abr-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.abr-content h2 span {
    color: var(--secondary-color);
}

.abr-content > p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.8;
}

.abr-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.abr-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.abr-list li i {
    color: var(--secondary-color);
    font-size: 18px;
}

.abr-visual {
    position: relative;
}

.abr-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.abr-card h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.coverage-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.coverage-item:last-child {
    border-bottom: none;
}

.coverage-icon {
    width: 50px;
    height: 50px;
    background: rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 20px;
}

.coverage-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.coverage-text p {
    font-size: 14px;
    opacity: 0.8;
}

/* ==========================================
   Scenarios Section
   ========================================== */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.scenario-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary-color);
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.scenario-icon {
    width: 60px;
    height: 60px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 28px;
}

.scenario-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.scenario-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ==========================================
   Social Connect Section
   ========================================== */
.social-section {
    background: var(--bg-cream);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.social-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.social-card i {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.social-card.facebook i { color: #1877f2; }
.social-card.instagram i { color: #e4405f; }
.social-card.tiktok i { color: #000000; }
.social-card.youtube i { color: #ff0000; }
.social-card.xiaohongshu i { color: #fe2c55; }

.social-card h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.social-card p {
    font-size: 13px;
    color: var(--text-light);
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-contact {
    margin-top: 30px;
    font-size: 18px;
    opacity: 0.9;
}

.cta-contact a {
    color: var(--secondary-color);
    font-weight: 600;
}

/* ==========================================
   About Page
   ========================================== */
.about-hero {
    background: var(--gradient-primary);
    padding: 180px 0 100px;
    color: var(--white);
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 20px;
    opacity: 0.9;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.about-image {
    position: sticky;
    top: 150px;
}

.about-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image-placeholder {
    width: 100%;
    height: 500px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 80px;
}

.about-text h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 16px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 15px;
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.highlight-item h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.highlight-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* ==========================================
   Services Page
   ========================================== */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.service-detail:nth-child(even) {
    direction: rtl;
}

.service-detail:nth-child(even) > * {
    direction: ltr;
}

.service-detail-content h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-detail-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-detail-content ul {
    margin-bottom: 30px;
}

.service-detail-content li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-color);
}

.service-detail-content li i {
    color: var(--secondary-color);
    font-size: 18px;
}

.service-detail-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 80px;
}

/* ==========================================
   FAQ Page
   ========================================== */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
}

.faq-question i {
    color: var(--secondary-color);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 30px 25px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ==========================================
   Blog Page
   ========================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 50px;
}

.blog-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    background: rgba(201, 162, 39, 0.1);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-content h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-light);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================
   Contact Page
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.method-icon.wechat {
    background: #07c160;
}

.method-info h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.method-info p {
    color: var(--text-light);
    font-size: 14px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form-wrapper h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    background: var(--gradient-gold);
    color: var(--white);
    padding: 18px 40px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.4);
}

/* Office Info */
.office-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.office-section h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.office-section p {
    color: var(--text-light);
    margin-bottom: 10px;
}

/* ==========================================
   National Life Group Page
   ========================================== */
.nlg-hero {
    background: var(--gradient-primary);
    padding: 180px 0 100px;
    color: var(--white);
    text-align: center;
}

.nlg-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.nlg-hero p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.nlg-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.nlg-text h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.nlg-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.nlg-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.nlg-stat {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.nlg-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.nlg-stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.nlg-visual {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 60px;
    color: var(--white);
    text-align: center;
}

.nlg-visual h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.nlg-visual p {
    opacity: 0.9;
    margin-bottom: 30px;
}

.rating-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.rating-badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rating-badge strong {
    display: block;
    font-size: 24px;
    color: var(--secondary-color);
}

.rating-badge span {
    font-size: 12px;
    opacity: 0.8;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about .logo a {
    color: var(--white);
}

.footer-about .logo-icon {
    background: rgba(255, 255, 255, 0.15);
}

.footer-about p {
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
    color: var(--secondary-color);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 14px;
}

.footer-designer {
    font-size: 13px;
    opacity: 0.6;
}

.footer-designer a {
    color: var(--secondary-color);
}

.footer-designer a:hover {
    text-decoration: underline;
}

/* ==========================================
   Page Header (Inner Pages)
   ========================================== */
.page-header {
    background: var(--gradient-primary);
    padding: 160px 0 80px;
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.7;
}

.breadcrumb a {
    color: var(--white);
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-cta {
        justify-content: center;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .abr-container {
        grid-template-columns: 1fr;
    }

    .scenarios-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        position: static;
    }

    .service-detail {
        grid-template-columns: 1fr;
    }

    .service-detail:nth-child(even) {
        direction: ltr;
    }

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

    .nlg-content {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }

    .top-bar-left {
        justify-content: center;
    }

    .header {
        top: 80px;
    }

    .hero {
        padding: 200px 0 80px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 32px;
    }

    .section-header h2 {
        font-size: 32px;
    }

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

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

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

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .page-header {
        padding: 140px 0 60px;
    }

    .page-header h1 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 40px);
    }

    .language-switcher a {
        padding: 4px 8px;
        font-size: 12px;
    }

    .abr-list {
        grid-template-columns: 1fr;
    }

    .nlg-stats {
        grid-template-columns: 1fr;
    }

    .rating-badges {
        flex-direction: column;
    }
}
