/* Talent Matters - Elite Global Institutional Styles */
:root {
    --primary-color: #001a33; /* Deep institutional navy */
    --secondary-color: #005555; /* Richer, more serious teal */
    --accent-color: #f8f9fa;
    --text-color: #1a1a1a;
    --white: #ffffff;
    --gray: #444444;
    --light-gray: #f5f7fb;
    --gold: #b8944e; /* More refined gold */
    --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-main: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.serif { font-family: var(--font-serif); }
.italic { font-style: italic; }
.white { color: var(--white); }
.opacity-8 { opacity: 0.8; }

h1, h2, h3, h4 {
    font-family: var(--font-main);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3rem; letter-spacing: -1px; }
h2 { font-size: 2.2rem; letter-spacing: -0.5px; }

.eyebrow {
    font-family: var(--font-main);
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.75rem;
    display: block;
    margin-bottom: 15px;
}

.eyebrow.white { color: var(--white); opacity: 0.9; }

/* Header & Navigation */
header {
    background: var(--white);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav {
    position: relative;
}

.header-top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.875rem;
}

.header-top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-top-links a {
    color: var(--white);
    transition: var(--transition);
}

.header-top-links a:hover {
    color: var(--gold);
}

.header-top-links .separator {
    color: rgba(255,255,255,0.3);
}

.header-top-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-top-social a {
    color: var(--white);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.header-top-social a:hover {
    color: var(--gold);
}

header > .container {
    padding: 10px 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
}

.nav-links > li {
    position: relative;
    padding: 10px 15px;
}

.nav-links > li > a {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
}

.nav-links > li > a:hover {
    color: var(--secondary-color);
}

/* Dropdowns */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    min-width: 250px;
    display: none;
    flex-direction: column;
    padding: 10px 0;
    border-top: 3px solid var(--primary-color);
}

.nav-links li:hover > .dropdown {
    display: flex;
}

.dropdown li {
    position: relative;
}

.dropdown li a {
    padding: 12px 20px;
    display: block;
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 500;
}

.dropdown li a:hover {
    background: var(--light-gray);
    color: var(--secondary-color);
}

/* Nested Dropdowns */
.nested-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    background: var(--white);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    min-width: 250px;
    display: none;
    flex-direction: column;
    padding: 10px 0;
    border-left: 3px solid var(--secondary-color);
}

.dropdown li:hover > .nested-dropdown {
    display: flex;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background: var(--primary-color);
    margin: 4px 0;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 40px;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 1px solid var(--primary-color);
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn.secondary {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

.btn.secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 80vh;
}

.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slideshow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 34, 68, 0.6); /* Deep Navy Overlay */
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: var(--white);
    position: relative;
    z-index: 2;
    padding: 0 80px;
}

.hero-content {
    max-width: 700px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 40px;
}

/* Identity Section - Premium Institutional */
.identity-section {
    padding: 140px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafb 100%);
    position: relative;
}

.identity-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--primary-color), var(--gold), var(--secondary-color));
}

.identity-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 100px;
    align-items: center;
}

.identity-text h2 {
    margin-bottom: 30px;
}

.identity-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    border-left: 2px solid var(--gold);
    padding-left: 30px;
}

/* Override for stat items in new layout */
.identity-section .stat-item {
    border-left: none;
    padding-left: 40px;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gray);
    letter-spacing: 2px;
}

/* Premium Content Sections - Institutional */
.premium-hero + section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.premium-content-wrapper {
    max-width: 950px;
    margin: 0 auto;
}

.premium-section-title {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 600;
}

.premium-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--gold));
    margin-top: 25px;
}

.premium-paragraph {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 2;
    margin-bottom: 30px;
}

.premium-subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 50px;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Service Grid - Premium Institutional */
.premium-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    margin: 80px 0;
}

.premium-service-card {
    background: var(--white);
    padding: 60px 45px;
    border: 1px solid #e0e0e0;
    border-top: 4px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
}

.premium-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--gold));
}

.premium-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 26, 51, 0.08);
    border-color: var(--primary-color);
}

.premium-service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.premium-service-card p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.8;
}

/* Premium Feature List - Institutional */
.premium-feature {
    margin-bottom: 45px;
    padding-left: 40px;
    position: relative;
}

.premium-feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, var(--gold), var(--primary-color));
    border-radius: 1px;
}

.premium-feature h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.premium-feature p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.85;
}

/* Premium CTA - Institutional */
.premium-cta {
    text-align: center;
    margin-top: 90px;
    padding-top: 70px;
    border-top: 1px solid #e5e5e5;
}

.premium-cta .btn {
    padding: 22px 60px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 700;
}

/* Enhanced Subpage Layout - Institutional */
.premium-hero {
    padding: 150px 0 100px;
    background: linear-gradient(180deg, #000f1f 0%, var(--primary-color) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.premium-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 50%, rgba(184, 148, 78, 0.08) 0%, transparent 50%), 
                      radial-gradient(circle at 80% 80%, rgba(0, 85, 85, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.premium-hero .container {
    max-width: 950px;
    position: relative;
    z-index: 1;
}

.premium-hero .eyebrow {
    color: var(--gold);
    margin-bottom: 30px;
    font-size: 0.7rem;
}

.premium-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 45px;
    letter-spacing: -0.5px;
    font-weight: 600;
}

.premium-hero-quote {
    font-family: var(--font-serif);
    font-style: normal;
    font-size: 1.35rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.88);
    border-left: 5px solid var(--gold);
    padding-left: 50px;
    max-width: 800px;
}

/* Workforce Intelligence Section */
.workforce-intelligence {
    padding: 100px 0;
    background: var(--light-gray);
}

.product-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.product-image, .product-content {
    flex: 1;
}

.data-viz-placeholder.premium {
    background: #001122;
    height: 500px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(173, 166, 166, 0.1);
}

.visual-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%);
}

/* Subpage Visual Layout */
.subpage-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.subpage-image {
    position: sticky;
    top: 150px;
}

/* Team Section Styles */
.leadership-highlight {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--white);
    border: 1px solid #eee;
    overflow: hidden;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--gold);
}

.md-card {
    max-width: 400px;
    border: 2px solid var(--gold);
}

.team-img-wrapper {
    height: 300px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-img-wrapper img {
    width: 60%;
    opacity: 0.6;
    transition: var(--transition);
}

.team-card:hover .team-img-wrapper img {
    opacity: 1;
    transform: scale(1.1);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-role {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.team-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.team-info p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Color & Visual Enhancements */
.identity-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f9fbff 100%);
    position: relative;
    overflow: hidden;
}

.identity-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 300px;
    height: 300px;
    background-image: radial-gradient(var(--gold) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
}

.workforce-intelligence {
    background: #001122; /* Darker for premium feel */
    color: var(--white);
    position: relative;
}

.workforce-intelligence::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--gold), var(--secondary-color));
}

.workforce-intelligence .lead-text {
    color: var(--gold);
}

.workforce-intelligence p {
    color: rgba(255,255,255,0.7);
}

.pillar-card:hover {
    background: var(--primary-color);
    color: var(--white);
}

.pillar-card:hover p {
    color: rgba(255,255,255,0.7);
}

.featured-insight.premium {
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

/* Contact & Engagement Forms */
.contact-section {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}

.contact-info-panel {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px;
    border-radius: 5px;
}

.contact-info-panel h2 {
    color: var(--gold);
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item h4 {
    color: var(--gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.engagement-form {
    background: var(--white);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    margin-bottom: 10px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: #fdfbf7;
}

/* File Upload Styling */
.file-upload-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}

.file-upload-wrapper input[type="file"] {
    padding: 12px;
    background: #f8f9fa;
    border: 1px dashed #ccc;
    cursor: pointer;
}

.file-upload-wrapper input[type="file"]:hover {
    border-color: var(--gold);
    background: #fff;
}

/* Form Section Headers */
.form-section-header {
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: var(--primary-color);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-section-header:first-child {
    margin-top: 0;
}

/* Vacancy Dynamic Components */
.job-requirements-panel h4 {
    color: var(--gold);
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.job-requirements-panel ul {
    list-style: none;
    padding-left: 0;
}

.job-requirements-panel ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--gray);
}

.job-requirements-panel ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.job-requirements-panel p {
    color: var(--gray);
    line-height: 1.8;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* Home Page Contact Portal Specifics */
.home-contact-portal {
    padding: 120px 0;
    background: var(--light-gray);
}

.portal-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    padding: 80px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.05);
    border-top: 5px solid var(--gold);
}

/* Responsive Overrides */
.data-viz-placeholder img {
    max-width: 40%;
    opacity: 0.8;
    z-index: 2;
}

.lead-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.product-features {
    margin: 30px 0;
}

.product-features li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Governance Section */
.governance-focus {
    background: var(--primary-color);
    padding: 120px 0;
    color: var(--white);
}

.governance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.gov-content p {
    margin: 30px 0 40px;
    font-size: 1.1rem;
}

.gov-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.gov-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 30px;
}

.gov-item h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--gold);
}

.gov-item p {
    font-size: 0.95rem;
    opacity: 0.7;
}

/* Core Expertise Area (Pillars) */
.pillars-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 60px;
}

.pillars-grid.premium {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border: 1px solid #eee;
}

.pillar-card {
    padding: 60px 30px;
    text-align: center;
    border-right: 1px solid #eee;
    transition: var(--transition);
}

.pillar-card:last-child { border-right: none; }

.pillar-card:hover {
    background: var(--light-gray);
    transform: translateY(-5px);
}

.pillar-number {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}

.pillar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.pillar-card p {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Insights Section */
.insights-section {
    padding: 120px 0;
    background: var(--white);
}

.insights-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.insights-content { flex: 1; }
.insights-image { flex: 1; }

.featured-insight.premium {
    margin-top: 40px;
    padding: 40px;
    background: var(--light-gray);
    border-left: 5px solid var(--gold);
}

.insight-tag {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.premium-image-frame {
    position: relative;
    padding: 20px;
    background: var(--white);
    box-shadow: 30px 30px 80px rgba(0,0,0,0.05);
}

.premium-image-frame::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border-top: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
    z-index: -1;
}

.premium-image-frame img {
    width: 100%;
    opacity: 0.8;
}

/* Testimonials Section */
.testimonials-section.premium {
    padding: 120px 0;
    background: var(--light-gray);
    text-align: center;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.8s ease;
}

.testimonial-slide.active { display: block; }

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 40px;
    line-height: 1.5;
}

.testimonial-author {
    font-weight: 700;
    margin-bottom: 5px;
}

.testimonial-org {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
}

.testimonial-dots {
    margin-top: 50px;
}

.dot {
    height: 10px;
    width: 10px;
    background: #ccc;
    display: inline-block;
    margin: 0 5px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 10px;
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 34, 68, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.success-modal-content {
    background: var(--white);
    padding: 60px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    border-top: 5px solid var(--gold);
}

.success-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.success-modal-content h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.success-modal-content p {
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.success-modal-content .btn {
    padding: 12px 30px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--gold);
}

.footer-col p, .footer-col li {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 40px;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Responsive Overrides */
@media (max-width: 1200px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    .identity-grid, .governance-grid, .product-flex, .insights-flex { gap: 60px; }
}

@media (max-width: 992px) {
    .menu-toggle { display: flex; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        z-index: 999;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .nav-links.active { display: flex; }
    
    .nav-links > li { padding: 15px 0; border-bottom: 1px solid #eee; }
    
    .dropdown, .nested-dropdown {
        position: static;
        display: none;
        box-shadow: none;
        padding-left: 20px;
        border: none;
    }
    
    .nav-links li.active > .dropdown,
    .dropdown li.active > .nested-dropdown { display: flex; }

    .identity-grid, .governance-grid, .product-flex, .insights-flex,
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
        text-align: center;
    }
    
    .identity-stats { justify-content: center; }
    .stat-item { border-left: none; border-top: 1px solid #ddd; padding: 20px 0 0; }
    
    .gov-list, .product-features { text-align: left; }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .portal-container {
        padding: 40px 20px;
    }

    .pillars-grid.premium {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pillars-grid.premium .pillar-card:nth-child(2n) { border-right: none; }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .premium-service-grid {
        grid-template-columns: 1fr;
    }

    .data-viz-placeholder.premium {
        height: 400px;
    }

    img {
        max-width: 100% !important;
        height: auto !important;
    }

    .premium-hero-quote {
        padding-left: 30px;
        font-size: 1.1rem;
    }

    .premium-hero h1 {
        font-size: 2.5rem;
    }

    .testimonial-text {
        font-size: 1.3rem;
    }

    .header-top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .subpage-layout {
        grid-template-columns: 1fr;
    }

    .subpage-image {
        position: static;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero { padding: 0 20px; }
    .hero-btns { flex-direction: column; }
    .btn { width: 100%; }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .pillars-grid.premium {
        grid-template-columns: 1fr;
    }

    .pillars-grid.premium .pillar-card {
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .data-viz-placeholder.premium {
        height: 300px;
    }

    .premium-hero {
        padding: 100px 0 80px;
    }

    .premium-hero + section {
        padding: 80px 0;
    }

    .identity-section {
        padding: 80px 0;
    }

    .workforce-intelligence {
        padding: 80px 0;
    }

    .governance-focus {
        padding: 80px 0;
    }

    .pillars-section {
        padding: 80px 0;
    }

    .insights-section {
        padding: 80px 0;
    }

    .testimonials-section.premium {
        padding: 80px 0;
    }

    .home-contact-portal {
        padding: 80px 0;
    }

    .contact-section {
        padding: 80px 0;
    }

    .premium-service-card {
        padding: 40px 30px;
    }

    .premium-feature {
        padding-left: 30px;
    }

    .premium-feature::before {
        width: 10px;
        height: 10px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .logo img {
        height: 50px;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 0 40px;
        text-align: center;
        justify-content: center;
    }

    .hero-btns {
        justify-content: center;
    }

    /* Handle all inline two-column grid layouts */
    [style*="grid-template-columns: 1.1fr 0.9fr"],
    [style*="grid-template-columns: 1fr 1.1fr"],
    [style*="grid-template-columns: 1fr 1.5fr"],
    [style*="grid-template-columns: 1.5fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    /* Identity section grid */
    .identity-section [style*="grid-template-columns: 1.1fr 0.9fr"] {
        text-align: left;
    }

    /* Make hero button 100% width */
    .hero-btns .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero { padding: 0 20px; }
    .hero-btns { flex-direction: column; }
    .btn { width: 100%; }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .pillars-grid.premium {
        grid-template-columns: 1fr;
    }

    .pillars-grid.premium .pillar-card {
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .data-viz-placeholder.premium {
        height: 300px;
    }

    .premium-hero {
        padding: 100px 0 80px;
    }

    .premium-hero + section {
        padding: 80px 0;
    }

    .identity-section {
        padding: 80px 0;
    }

    .workforce-intelligence {
        padding: 80px 0;
    }

    .governance-focus {
        padding: 80px 0;
    }

    .pillars-section {
        padding: 80px 0;
    }

    .insights-section {
        padding: 80px 0;
    }

    .testimonials-section.premium {
        padding: 80px 0;
    }

    .home-contact-portal {
        padding: 80px 0;
    }

    .contact-section {
        padding: 80px 0;
    }

    .premium-service-card {
        padding: 40px 30px;
    }

    .premium-feature {
        padding-left: 30px;
    }

    .premium-feature::before {
        width: 10px;
        height: 10px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .logo img {
        height: 50px;
    }

    /* Fix for identity section image placeholder height */
    .identity-image-placeholder {
        min-height: 300px;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .container {
        padding: 0 15px;
    }

    .btn {
        padding: 15px 30px;
        font-size: 0.75rem;
    }

    .premium-cta .btn {
        padding: 18px 40px;
    }

    .hero-btns {
        gap: 15px;
    }

    .portal-container {
        padding: 30px 15px;
    }

    .contact-info-panel {
        padding: 40px 20px;
    }

    .premium-content-wrapper {
        max-width: 100%;
    }

    .premium-section-title {
        font-size: 1.75rem;
    }

    .premium-paragraph {
        font-size: 1rem;
    }

    /* Adjust quote styling */
    .premium-hero-quote {
        padding-left: 20px;
        font-size: 1rem;
    }

    /* Smaller padding on all cards */
    .premium-card,
    .service-timeline-item,
    .governance-card,
    .training-module,
    .objective-card {
        padding: 30px 20px !important;
    }

    /* Adjust font sizes */
    .premium-hero h1 {
        font-size: 2.2rem;
    }

    /* Fix header top bar */
    .header-top-bar-content {
        padding: 10px 0;
    }

    /* Ensure all images are responsive */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Hide all icon elements */
.list-icon,
.arrow,
i.arrow {
    display: none !important;
}

/* Comprehensive Responsive Overrides for Custom Page Elements */
@media (max-width: 992px) {
    /* Service timeline items */
    .service-timeline-item {
        padding: 35px 25px;
    }

    .service-icon {
        font-size: 3rem;
    }

    /* Objective cards */
    .objective-card {
        flex-direction: column;
        text-align: left;
    }

    /* Governance cards and training modules */
    .governance-card,
    .training-module {
        padding: 30px 25px;
    }

    /* Pillar cards */
    .pillar-card {
        padding: 40px 25px;
    }

    /* All grid columns should stack */
    [style*="grid-template-columns: repeat(auto-fit"] {
        gap: 20px !important;
    }
}

/* Global page-level mobile overrides for inline grid layouts and wide blocks */
@media (max-width: 992px) {
    .hero {
        min-height: auto;
        padding: 80px 20px;
    }

    .hero-content p {
        max-width: 100% !important;
        padding: 0 10px !important;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }

    .hero-btns .btn {
        width: 100% !important;
        max-width: 100% !important;
    }

    .identity-grid,
    .governance-grid,
    .product-flex,
    .insights-flex,
    .contact-grid,
    .subpage-layout,
    .feature-grid {
        grid-template-columns: 1fr !important;
    }

    .value-prop-sidebar,
    .pillars-sidebar {
        flex-direction: row !important;
        overflow-x: auto !important;
        padding-bottom: 10px !important;
        order: -1;
    }

    .value-prop-tab,
    .pillars-tab {
        flex-shrink: 0 !important;
        min-width: 220px !important;
    }

    .clients-marquee-container {
        overflow-x: auto !important;
        padding-bottom: 10px;
    }

    .clients-marquee {
        animation: none !important;
        display: flex !important;
        gap: 15px !important;
        flex-wrap: nowrap !important;
    }

    .client-logo-box {
        min-width: 180px !important;
        flex: 0 0 auto !important;
        white-space: normal !important;
    }

    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns: 1.1fr 0.9fr"],
    [style*="grid-template-columns: 1fr 1.1fr"],
    [style*="grid-template-columns: 1fr 1.5fr"],
    [style*="grid-template-columns: 1.5fr 1fr"],
    [style*="grid-template-columns: 300px 1fr"],
    [style*="grid-template-columns: 1fr 300px"],
    [style*="grid-template-columns: repeat(2, 1fr)"],
    [style*="grid-template-columns: repeat(3, 1fr)"],
    [style*="grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))"],
    [style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"],
    [style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"],
    [style*="grid-template-columns: repeat(auto-fit, minmax(320px, 1fr))"],
    [style*="grid-template-columns: repeat(auto-fit, minmax(350px, 1fr))"],
    [style*="grid-template-columns: repeat(auto-fit, minmax(400px, 1fr))"],
    [style*="grid-template-columns: repeat(auto-fit, minmax(280px,1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    [style*="display: inline-block; background: white; padding: 45px 60px;"] {
        display: block !important;
        width: 100% !important;
        padding: 30px 20px !important;
    }
}
