/* american-wall-street-main.css - Styles for American Wall Street Listed Group Inc based on provided image */

/* Import Google Fonts - Nunito Sans for a modern, professional look */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

:root {
    /* American Wall Street Listed Group Brand Colors */
    --aws-dark-bg: #1a1a1a; /* Dark background for header, totals, hero */
    --aws-primary-green: #00A88F; /* Teal/Green for highlights, headings, links */
    --aws-accent-pink: #ec098c; /* Pink for accents (e.g., header line) */
    --aws-accent-orange: #fab061; /* Orange for accents (e.g., header line) */
    --aws-white: #ffffff;
    --aws-light-gray-bg: #ffffff; /* Light background for main content */
    --aws-text-dark: #333333; /* Dark text for body content */
    --aws-text-light: #666666; /* Lighter text for descriptions */

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-xxl: 64px;

    /* Font Sizes */
    --font-size-base: 1rem; /* 16px */
    --font-size-sm: 0.875rem; /* 14px */
    --font-size-lg: 1.25rem; /* 20px */
    --font-size-xl: 1.5rem; /* 24px */
    --font-size-xxl: 2.25rem; /* 36px */
    --font-size-xxxl: 3rem; /* 48px */
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--aws-light-gray-bg);
    color: var(--aws-text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent horizontal overflow on small screens and support iPhone safe areas */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

@supports(padding: max(0px)) {
    body {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
}

/* PwC-style content sections */
.content-section {
    margin: 80px 0;
    padding: 0 20px;
}

.content-section h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--aws-text-dark);
    margin-bottom: 20px;
    text-align: left;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--aws-text-light);
    margin-bottom: 60px;
    text-align: left;
}

/* PwC Hero Section */
.pwc-hero {
    /* background: linear-gradient(135deg, #fef7f0 0%, #f5f5f0 100%); */
    padding: 0;
}

.pwc-hero-content {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.pwc-hero-text {
    flex: 1;
}

.pwc-hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--aws-text-dark);
    margin-bottom: 30px;
    line-height: 1.1;
}

.pwc-hero-subtitle {
    font-size: 1.3rem;
    color: var(--aws-text-light);
    line-height: 1.6;
}

.pwc-hero-image {
    flex: 1;
    position: relative;
}

.pwc-hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

.pwc-orange-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.pwc-shape-1 {
    position: absolute;
    top: 15%;
    left: -15%;
    width: 70%;
    height: 50%;
    background: #ff6b35;
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
    z-index: 2;
}

.pwc-shape-2 {
    position: absolute;
    top: 5%;
    right: -10%;
    width: 35%;
    height: 30%;
    background: #ff6b35;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 2;
}

/* PwC Trusted Outcomes Section */
.pwc-trusted-outcomes {
    /* background: linear-gradient(135deg, #fef7f0 0%, #f5f5f0 100%); */
    padding: 80px 0;
    position: relative;
}

.pwc-trusted-hero {
    background: linear-gradient(135deg, #fef7f0 0%, #f5f5f0 100%);
    margin-bottom: 0;
}

.pwc-trusted-content {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.pwc-trusted-text {
    flex: 1;
}

.pwc-trusted-text h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--aws-text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.pwc-trusted-subtitle {
    font-size: 1.2rem;
    color: var(--aws-text-light);
    line-height: 1.6;
}

.pwc-trusted-image {
    flex: 1;
    position: relative;
}

.pwc-trusted-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.pwc-trusted-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.pwc-trusted-shape-1 {
    position: absolute;
    top: 20%;
    left: -10%;
    width: 60%;
    height: 40%;
    background: #ff6b35;
    clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%);
    z-index: 2;
}

.pwc-trusted-shape-2 {
    position: absolute;
    top: 10%;
    right: -5%;
    width: 30%;
    height: 25%;
    background: #ff6b35;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 2;
}

.pwc-trusted-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background: transparent;
    width: 100%;
    position: relative;
    z-index: 3;
    margin-top: -100px;
}

.pwc-trusted-card {
    background: #ffffff;
    padding: 20px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    min-width: 0;
}

.pwc-trusted-card:hover {
    transform: translateY(-40px) scale(1.14);
    box-shadow: 0 40px 108px rgba(0, 0, 0, 0.54);
}

.pwc-trusted-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--aws-text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.pwc-trusted-card p {
    font-size: 0.85rem;
    color: var(--aws-text-light);
    line-height: 1.4;
    margin-bottom: 15px;
}

.pwc-read-more {
    color: #ff6b35;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pwc-read-more:hover {
    color: #e55a2b;
}

/* Insights Section */
.insights-section {
    padding: 60px 0;
    background: #ffffff;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.insight-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.insight-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--aws-text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.insight-card p {
    font-size: 1rem;
    color: var(--aws-text-light);
    line-height: 1.6;
    margin-bottom: 30px;
}

.insight-card .read-more {
    color: #ff6b35;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.insight-card .read-more:hover {
    color: #e55a2b;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 40px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: transparent;
    padding: 0;
    border: none;
}

.service-icon {
    width: 100%;
    max-width: 360px;
    height: auto;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
}

.service-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--aws-text-dark);
    margin-bottom: 20px;
    text-transform: none;
}

.service-card p {
    font-size: 1rem;
    color: var(--aws-text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.read-more {
    color: #6B46C1;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

.read-more:hover {
    text-decoration: underline;
}

.case-studies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.case-study {
    background: transparent;
    padding: 0;
    border: none;
}

.case-study h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--aws-text-dark);
    margin-bottom: 20px;
    text-transform: none;
}

.case-study p {
    font-size: 1rem;
    color: var(--aws-text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.insights-grid { grid-auto-flow: row; }

/* keep the styled insight cards defined above; no overrides here */

.insight-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 8px;
    flex-shrink: 0;
}

.insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.insight-image img:hover {
    transform: scale(1.05);
}

.insight-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--aws-text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.insight-card p {
    font-size: 1rem;
    color: var(--aws-text-light);
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* --- PwC Style Header Section --- */
.pwc-header {
    background-color: #ffffff;
    color: #333333;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.pwc-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.pwc-header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    min-height: 60px;
}

.pwc-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pwc-logo-img {
    height: 64px;
    width: 128px;
    object-fit: contain;
}

.pwc-logo {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.pwc-header-nav {
    display: flex;
    align-items: center;
    gap: 50px;
    flex: 1;
    justify-content: center;
}

.pwc-nav-link {
    color: #333333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
}

.pwc-nav-link:hover {
    color: #000000;
}

.pwc-nav-link.active {
    color: #000000;
    font-weight: 600;
}

.pwc-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #000000;
}

.pwc-header-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.pwc-language-switch {
    display: flex;
    align-items: center;
    gap: 2px;
    background-color: #f5f5f5;
    border-radius: 6px;
    padding: 2px;
}

.pwc-lang-btn {
    background: none;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    color: #666666;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.pwc-lang-btn:hover {
    color: #333333;
    background-color: rgba(255, 255, 255, 0.5);
}

.pwc-lang-btn.active {
    background-color: #ffffff;
    color: #000000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.pwc-search {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.pwc-search:hover {
    background-color: #f5f5f5;
}

.pwc-search-icon {
    font-size: 14px;
}

.pwc-search-text {
    font-size: 13px;
    color: #333333;
    white-space: nowrap;
}

.pwc-header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid #e0e0e0;
    background: linear-gradient(135deg, #fef7f0 0%, #ffffff 100%);
}

.pwc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pwc-breadcrumb-item {
    font-size: 14px;
    color: #333333;
    text-decoration: none;
}

.pwc-breadcrumb-arrow {
    font-size: 14px;
    color: #666666;
}

.pwc-tagline {
    font-size: 14px;
    color: #333333;
    font-weight: 500;
    white-space: nowrap;
}

/* --- Legacy Header Section (keeping for compatibility) --- */
.header {
    background-color: var(--aws-dark-bg);
    color: var(--aws-white);
    padding: var(--space-md) 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header-logo-img {
    height: 40px !important;
    width: auto;
    margin-right: var(--space-sm);
    /* Updated for logo1 */
}

.header-logo {
    font-weight: 800;
    font-size: var(--font-size-xl);
    color: var(--aws-white);
    text-decoration: none;
}

.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--space-md);
}

.header-nav a {
    color: var(--aws-white);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color 0.2s ease-in-out;
}

.header-nav a:hover {
    color: var(--aws-primary-green);
}

.header-right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.language-selector {
    position: relative;
}

.language-selector select {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--aws-white);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: var(--font-size-sm);
    font-family: 'Nunito Sans', sans-serif;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 32px;
    min-width: 100px;
}

.language-selector select:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.language-selector select:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--aws-primary-green);
    box-shadow: 0 0 0 2px rgba(0, 168, 143, 0.2);
}

.language-selector select option {
    background-color: var(--aws-dark-bg);
    color: var(--aws-white);
    padding: 8px;
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: var(--space-xs) var(--space-sm);
}

.search-bar input {
    background: none;
    border: none;
    color: var(--aws-white);
    padding-right: var(--space-sm);
    outline: none;
    font-size: var(--font-size-sm);
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-bar .search-icon {
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.contact-link {
    color: var(--aws-white);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color 0.2s ease-in-out;
}

.contact-link:hover {
    color: var(--aws-primary-green);
}

/* --- Teal Bar Below Header --- */
.header-line {
    width: 100%;
    height: 5px; /* Thicker bar as seen in image */
    background-color: var(--aws-primary-green);
}

/* --- Totals Bar Section --- */
.totals-bar {
    background-color: var(--aws-dark-bg);
    color: var(--aws-white);
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.totals-content {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.totals-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-right: var(--space-lg);
    white-space: nowrap;
}

.total-item {
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
    white-space: nowrap;
}

.total-item strong {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--aws-white); /* Numbers are white in the image */
}

.total-item span {
    font-size: var(--font-size-sm);
    color: var(--aws-white);
}

/* --- Hero Section (NOW LIVE) --- */
.hero-section {
    background-color: #2a2a2a; /* Slightly lighter dark background for hero */
    color: var(--aws-white);
    padding: var(--space-xxl) 0;
    text-align: left;
}

.hero-section h3 {
    font-size: var(--font-size-xl);
    color: var(--aws-primary-green);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    font-weight: 700;
}

.hero-section h1 {
    font-size: var(--font-size-xxxl);
    color: var(--aws-white);
    margin-top: 0;
    margin-bottom: var(--space-md);
    font-weight: 800;
}

.hero-section p {
    font-size: var(--font-size-lg);
    color: var(--aws-primary-green);
    margin-bottom: var(--space-lg);
    font-weight: 600;
}

.hero-meta {
    font-size: var(--font-size-sm);
    color: var(--aws-text-light);
    margin-top: var(--space-xl);
}

/* --- Content Blocks (White Background) --- */
.content-area {
    background-color: var(--aws-white);
    padding: var(--space-xxl) 0;
}

.content-block {
    padding: var(--space-xl) 0;
    border-bottom: 1px solid #eee;
}

.content-block:last-child {
    border-bottom: none;
}

.content-block h2 {
    font-size: var(--font-size-xxl);
    color: var(--aws-primary-green);
    margin-top: 0;
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.content-block p {
    margin-bottom: var(--space-md);
    color: var(--aws-text-dark);
}

.content-block .read-more {
    color: var(--aws-primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease-in-out;
}

.content-block .read-more:hover {
    text-decoration: underline;
}

/* --- Service Activity Table --- */
.service-activity {
    background-color: var(--aws-white);
    padding: var(--space-xxl) 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    font-size: var(--font-size-xxl);
    color: var(--aws-primary-green);
    margin: 0;
    font-weight: 700;
}

.section-tabs {
    display: flex;
    gap: var(--space-sm);
}

.tab {
    background: none;
    border: 1px solid var(--aws-primary-green);
    color: var(--aws-primary-green);
    padding: var(--space-sm) var(--space-md);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-size: var(--font-size-sm);
}

.tab.active,
.tab:hover {
    background-color: var(--aws-primary-green);
    color: var(--aws-white);
}

.activity-table {
    overflow-x: auto;
}

.activity-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-lg);
}

.activity-table th,
.activity-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid #eee;
}

.activity-table th {
    background-color: var(--aws-light-gray-bg);
    font-weight: 600;
    color: var(--aws-text-dark);
    font-size: var(--font-size-sm);
}

.activity-table td {
    font-size: var(--font-size-sm);
}

.positive {
    color: var(--aws-primary-green);
    font-weight: 600;
}

.table-footer {
    text-align: right;
}

.table-footer a {
    color: var(--aws-primary-green);
    text-decoration: none;
    font-size: var(--font-size-sm);
}

.table-footer a:hover {
    text-decoration: underline;
}

/* --- News and Research Section --- */
.news-research {
    background-color: var(--aws-white);
    padding: var(--space-xxl) 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
}

.news-section h3,
.research-section h3 {
    font-size: var(--font-size-xl);
    color: var(--aws-primary-green);
    margin-bottom: var(--space-lg);
    font-weight: 700;
}

.news-item,
.research-item {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid #eee;
}

.news-item:last-child,
.research-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-item h4,
.research-item h4 {
    font-size: var(--font-size-base);
    color: var(--aws-text-dark);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.news-item p,
.research-item p {
    font-size: var(--font-size-sm);
    color: var(--aws-text-light);
    margin: 0;
}

.news-section a {
    color: var(--aws-primary-green);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.news-section a:hover {
    text-decoration: underline;
}

/* --- Service Snapshot Sidebar --- */
.content-sidebar {
    background-color: var(--aws-white);
    padding: var(--space-xl);
    border-left: 1px solid #eee;
}

.service-snapshot {
    margin-bottom: var(--space-xl);
}

.service-snapshot h3 {
    font-size: var(--font-size-lg);
    color: var(--aws-primary-green);
    margin-bottom: var(--space-lg);
    font-weight: 700;
}

.snapshot-list {
    margin-bottom: var(--space-md);
}

.snapshot-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid #eee;
    font-size: var(--font-size-sm);
}

.snapshot-item:last-child {
    border-bottom: none;
}

.service-name {
    color: var(--aws-text-dark);
}

.service-value {
    color: var(--aws-primary-green);
    font-weight: 600;
}

.snapshot-note {
    text-align: center;
    margin-top: var(--space-md);
}

.snapshot-note small {
    color: var(--aws-text-light);
    font-size: var(--font-size-xs);
}

/* --- Newsletter Signup --- */
.newsletter-signup {
    background-color: var(--aws-light-gray-bg);
    padding: var(--space-lg);
    border-radius: 8px;
}

.newsletter-signup h3 {
    font-size: var(--font-size-lg);
    color: var(--aws-primary-green);
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

.newsletter-signup p {
    font-size: var(--font-size-sm);
    color: var(--aws-text-light);
    margin-bottom: var(--space-md);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.email-input {
    padding: var(--space-sm);
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: var(--font-size-sm);
}

.email-input:focus {
    outline: none;
    border-color: var(--aws-primary-green);
}

.newsletter-form .button {
    background-color: var(--aws-primary-green);
    color: var(--aws-white);
    border: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: 4px;
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: 600;
    transition: background-color 0.2s ease-in-out;
}

.newsletter-form .button:hover {
    background-color: #008a75;
}

/* --- Footer --- */
/* PwC-Style Footer */
.pwc-footer {
    background-color: #ffffff;
    padding: 40px 0 20px;
    margin-top: 80px;
    border-top: 1px solid #e0e0e0;
}

.pwc-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Social Media Section */
.pwc-footer-social {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.pwc-follow-text {
    font-family: 'Georgia', serif;
    font-size: 16px;
    color: #333333;
    margin-right: 20px;
    display: inline-block;
}

.pwc-social-icons {
    display: inline-flex;
    gap: 12px;
    align-items: center;
}

.pwc-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pwc-social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pwc-social-icon svg {
    width: 20px;
    height: 20px;
}

/* Social Media Brand Colors */
.pwc-linkedin {
    background-color: #0077b5;
    color: white;
}

.pwc-facebook {
    background-color: #1877f2;
    color: white;
}

.pwc-x {
    background-color: #000000;
    color: white;
}

.pwc-youtube {
    background-color: #ff0000;
    color: white;
}

.pwc-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.pwc-tiktok {
    background-color: #000000;
    color: white;
}

/* Navigation Links */
.pwc-footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.pwc-footer-link {
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pwc-footer-link:hover {
    color: #000000;
}

.pwc-external svg {
    width: 12px;
    height: 12px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.pwc-external:hover svg {
    opacity: 1;
}

/* Footer Bottom */
.pwc-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.pwc-footer-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.pwc-footer-logo-img {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.pwc-footer-legal {
    flex: 1;
    max-width: 800px;
}

.pwc-footer-legal p {
    color: #666666;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.pwc-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.pwc-legal-links a {
    color: #666666;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
}

.pwc-legal-links a:hover {
    color: #000000;
}

.legal-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: var(--font-size-xs);
    transition: color 0.2s ease-in-out;
}

.legal-links a:hover {
    color: var(--aws-primary-green);
}

/* --- Content Grid Layout --- */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xxl);
}

/* --- Content Blocks Layout --- */
.content-blocks {
    display: grid;
    gap: var(--space-xl);
}

.content-block {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-lg);
    align-items: start;
}

.block-image {
    background-color: var(--aws-light-gray-bg);
    border-radius: 8px;
    padding: var(--space-lg);
    text-align: center;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    color: var(--aws-text-light);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.block-content h3 {
    font-size: var(--font-size-lg);
    color: var(--aws-primary-green);
    margin-top: 0;
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

.block-content p {
    font-size: var(--font-size-sm);
    color: var(--aws-text-dark);
    margin-bottom: var(--space-md);
}

.block-content .button {
    display: inline-block;
    background-color: var(--aws-primary-green);
    color: var(--aws-white);
    text-decoration: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: 4px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    transition: background-color 0.2s ease-in-out;
}

.block-content .button:hover {
    background-color: #008a75;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    html, body { overflow-x: hidden; }

    .pwc-hero-content,
    .pwc-trusted-content {
        flex-direction: column;
        gap: 24px;
        padding: 0 16px;
    }

    .pwc-hero-image img,
    .pwc-trusted-image img {
        height: auto;
        max-height: 320px;
    }

    /* PwC Header Responsive */
    .pwc-header-main {
        flex-direction: column;
        gap: 20px;
        padding: 15px 0;
    }
    
    .pwc-header-nav {
        flex-direction: row;
        gap: 15px;
        width: 100%;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    .pwc-nav-link {
        flex: 1 1 25%;
        text-align: center;
        min-width: 0;
    }
    
    .pwc-header-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .pwc-header-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .pwc-tagline {
        white-space: normal;
        overflow-wrap: anywhere;
    }
    
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }
    
    .header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }
    
    .header-nav ul {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .header-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .search-bar {
        flex-grow: 1;
    }
    
    .totals-content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }
    
    .totals-title {
        margin-right: 0;
    }
    
    .hero-section h1 {
        font-size: var(--font-size-xl);
    }
    
    .hero-section p {
        font-size: var(--font-size-base);
    }
    
    .content-block h2 {
        font-size: var(--font-size-xl);
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .content-block {
        grid-template-columns: 1fr;
    }
    
    .news-research {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* PwC Footer Responsive Design */
@media (max-width: 768px) {
    .pwc-footer-container {
        padding: 0 15px;
    }
    
    .pwc-footer-social {
        margin-bottom: 25px;
    }
    
    .pwc-follow-text {
        display: block;
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .pwc-social-icons {
        justify-content: center;
    }
    
    .pwc-footer-nav {
        gap: 20px;
        justify-content: center;
    }
    
    .pwc-footer-bottom {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }
    
    .pwc-footer-logo {
        order: 1;
    }
    
    .pwc-footer-legal {
        order: 2;
        max-width: none;
    }
    
    .pwc-legal-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .pwc-hero-content,
    .pwc-trusted-content {
        padding: 0 12px;
    }

    .pwc-trusted-cards {
        grid-template-columns: 1fr 1fr;
        margin-top: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .pwc-social-icons {
        gap: 8px;
    }
    
    .pwc-social-icon {
        width: 36px;
        height: 36px;
    }
    
    .pwc-social-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .pwc-footer-nav {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
    
    .pwc-legal-links {
        gap: 10px;
    }
}

/* iPhone 14 Pro specific layout (portrait width = 393px) */
@media screen and (width: 393px) {
    .pwc-header-container {
        padding: 0 12px;
    }

    .pwc-header-nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        width: 100% !important;
        justify-content: space-between !important;
    }

    .pwc-nav-link {
        flex: 1 1 25% !important;
        font-size: 14px !important;
        padding: 10px 0 !important;
        text-align: center !important;
    }
}

/* Fallback range to catch emulators rendering 390-394 */
@media screen and (min-width: 390px) and (max-width: 394px) {
    .pwc-header-nav { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; gap: 8px !important; width: 100% !important; justify-content: space-between !important; }
    .pwc-nav-link { flex: 1 1 25% !important; text-align: center !important; padding: 10px 0 !important; }
}
