/* Custom SLDS overrides for 3COR AI */

/* Global Salesforce Sans Font Styling */
html, body, input, textarea, select, button {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-size: 16px;
    line-height: 1.6;
    color: #181818;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography - Headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #032d60;
    margin-top: 0;
}

h1, .h1 {
    font-size: 2.5rem;
}

h2, .h2 {
    font-size: 2rem;
}

h3, .h3 {
    font-size: 1.5rem;
}

h4, .h4 {
    font-size: 1.25rem;
}

h5, .h5 {
    font-size: 1rem;
}

h6, .h6 {
    font-size: 0.875rem;
}

/* Typography - Paragraphs and Text */
p, li, td, th, label, span, div {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444444;
    margin-bottom: 1rem;
}

/* Typography - Links */
a {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #0176d3;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #014486;
    text-decoration: underline;
}

/* Typography - Form Elements */
input, textarea, select {
    font-size: 1rem;
    line-height: 1.5;
    color: #181818;
}

button, .btn {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
}

/* Typography - Small Text */
small, .small, .text-small {
    font-size: 0.875rem;
    line-height: 1.5;
}

.text-muted {
    color: #706e6b;
}

/* Typography - Lead Text */
.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: #444444;
}

/* Card Text */
.card, .card-body, .card-text, .card-title {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #032d60;
}

.card-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #444444;
}

/* List styling */
ul, ol {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

li {
    font-size: 1rem;
    line-height: 1.7;
    color: #444444;
}

/* Table styling */
table, th, td {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

th {
    font-weight: 700;
    color: #032d60;
}

td {
    color: #444444;
}

/* SLDS Scope wrapper */
.slds-scope {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.slds-scope h1, .slds-scope h2, .slds-scope h3, 
.slds-scope h4, .slds-scope h5, .slds-scope h6 {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.slds-scope p, .slds-scope span, .slds-scope div,
.slds-scope li, .slds-scope a, .slds-scope label {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1, .h1 {
        font-size: 2rem;
    }
    
    h2, .h2 {
        font-size: 1.5rem;
    }
    
    h3, .h3 {
        font-size: 1.25rem;
    }
    
    p {
        font-size: 0.9375rem;
    }
}

/* Sticky Footer Layout */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

html {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Page wrapper for no-scroll pages */
.page-wrapper-no-scroll {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.page-wrapper-no-scroll main {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.page-wrapper-no-scroll .site-footer {
    flex-shrink: 0;
}

main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.site-footer {
    flex-shrink: 0;
}

/* Salesforce-style Navigation */
.nav-link-sf {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: #032d60;
    text-decoration: none;
    font-family: 'Salesforce Sans', 'ITC Avant Garde Gothic', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.025em;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link-sf:hover {
    color: #0176d3;
}

.nav-link-sf:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 3px;
    background-color: #0176d3;
}

/* Salesforce-style Buttons */
.nav-btn-outline {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    color: #0176d3;
    background: transparent;
    border: 2px solid #0176d3;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Salesforce Sans', 'ITC Avant Garde Gothic', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.025em;
    transition: all 0.2s ease;
}

.nav-btn-outline:hover {
    background: #0176d3;
    color: #fff;
}

.nav-btn-primary {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    color: #fff;
    background: #0176d3;
    border: 2px solid #0176d3;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Salesforce Sans', 'ITC Avant Garde Gothic', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.025em;
    transition: all 0.2s ease;
}

.nav-btn-primary:hover {
    background: #014486;
    border-color: #014486;
    color: #fff;
}

/* Fixed Header Base Styles */
.slds-global-header_container {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.slds-global-header {
    min-height: 64px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #032d60;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-line:not(:last-child) {
    margin-bottom: 5px;
}

/* Hamburger animation when active */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Auth Buttons - hidden by default on desktop */
.mobile-auth-buttons {
    display: none;
}

/* Desktop Auth Buttons */
.desktop-auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Responsive Navbar Styles */
@media (max-width: 1024px) {
    .slds-global-header {
        padding: 0 1rem !important;
        min-height: 64px;
    }
    
    .slds-global-header__item_search .slds-grid {
        gap: 0.125rem !important;
    }
    
    .nav-link-sf {
        padding: 0.5rem 0.5rem;
        font-size: 13px;
    }
    
    .nav-btn-outline,
    .nav-btn-primary {
        padding: 0.4rem 0.75rem;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .slds-global-header {
        flex-wrap: nowrap !important;
        padding: 0.5rem 1rem !important;
        min-height: 56px !important;
    }
    
    .slds-global-header__item:first-child {
        flex: 0 0 auto;
    }
    
    .slds-global-header__item:first-child img {
        height: 48px !important;
        width: auto !important;
    }
    
    /* Show hamburger menu button */
    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }
    
    /* Hide desktop auth buttons on mobile */
    .desktop-auth-buttons {
        display: none !important;
    }
    
    /* Mobile menu container */
    .nav-menu-container {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 999;
        padding: 1rem;
        display: flex;
        flex-direction: column;
    }
    
    .nav-menu-container.mobile-menu-open {
        transform: translateX(0);
    }
    
    .nav-menu-container .slds-context-bar__secondary {
        width: 100%;
    }
    
    .nav-menu-container .nav-menu-list {
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    .nav-menu-container .slds-context-bar__item {
        width: 100%;
        border-bottom: 1px solid #e5e5e5;
    }
    
    .nav-menu-container .nav-link-sf {
        display: block;
        padding: 1rem 0.5rem;
        font-size: 1rem;
        width: 100%;
    }
    
    .nav-menu-container .nav-link-sf:hover::after {
        display: none;
    }
    
    /* Show mobile auth buttons in menu */
    .mobile-auth-buttons {
        display: flex !important;
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.5rem 0.5rem;
        margin-top: auto;
    }
    
    .mobile-auth-buttons a {
        display: block;
        text-align: center;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        cursor: pointer;
        pointer-events: auto;
    }
    
    .mobile-auth-buttons .nav-btn-outline {
        background: transparent;
        color: #0176d3;
        border: 2px solid #0176d3;
    }
    
    .mobile-auth-buttons .nav-btn-primary {
        background: #0176d3;
        color: #ffffff;
        border: 2px solid #0176d3;
    }
    
    /* Hero section offset for mobile */
    .sf-hero {
        padding-top: calc(56px + 2rem) !important;
    }
    
    .sf-legal-hero {
        margin-top: 0;
    }
    
    .section-padding-first {
        padding-top: calc(56px + 2rem) !important;
    }
}

@media (max-width: 480px) {
    .slds-global-header {
        padding: 0.25rem 0.75rem !important;
        min-height: 52px !important;
    }
    
    .slds-global-header__item:first-child img {
        height: 40px !important;
    }
    
    /* Mobile menu starts at smaller position */
    .nav-menu-container {
        top: 52px;
    }
    
    /* Hero section offset for small mobile */
    .sf-hero {
        padding-top: calc(52px + 1.5rem) !important;
    }
    
    .section-padding-first {
        padding-top: calc(52px + 1.5rem) !important;
    }
}

/* SLDS Scope wrapper */
.slds-scope {
    font-family: 'Salesforce Sans', 'ITC Avant Garde Gothic', Arial, sans-serif;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0070d2 0%, #1b5297 100%);
    padding: 4rem 0;
    min-height: 400px;
}

.hero-section .slds-text-heading_large {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
}

.hero-section .slds-text-heading_medium {
    color: #ffb75d;
    font-size: 1.5rem;
}

/* Section backgrounds */
.section-bg-light {
    background-color: #f3f3f3;
}

.section-bg-dark {
    background-color: #16325c;
}

.section-bg-brand {
    background-color: #0070d2;
}

/* Section padding */
.section-padding {
    padding: 4rem 0;
}

/* First section after navbar needs header offset */
.section-padding-first {
    padding: 4rem 0;
    padding-top: calc(64px + 4rem);
}

@media (max-width: 768px) {
    .section-padding-first {
        padding-top: calc(64px + 2rem);
    }
}

/* Card styling */
.slds-card.custom-card {
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slds-card.custom-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Services cards */
.services-card {
    height: 100%;
}

.services-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Work section */
.work-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.work-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-card:hover img {
    transform: scale(1.05);
}

.work-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

/* Values cards */
.value-card {
    background-color: #16325c;
    border-radius: 0.5rem;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 250px;
}

.value-card .slds-text-heading_medium {
    color: #fff;
}

/* Partners section */
.partners-section {
    padding: 2rem 0;
}

.partners-scroll {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 1rem 0;
}

.partners-scroll img {
    height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partners-scroll img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Footer */
.site-footer {
    background-color: #16325c;
    padding: 3rem 0 1rem;
}

.site-footer .slds-text-heading_small {
    color: #fff;
    margin-bottom: 1rem;
}

.site-footer .footer-link {
    color: #b0c4de;
    text-decoration: none;
}

.site-footer .footer-link:hover {
    color: #fff;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-item {
    margin-bottom: 0.5rem;
}

.footer-menu-link {
    color: #b0c4de;
    text-decoration: none;
}

.footer-menu-link:hover {
    color: #fff;
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: background-color 0.3s ease;
}

.social-icon-link:hover {
    background-color: #0070d2;
}

/* Navigation */
.navbar-slds {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-slds .nav-link {
    color: #16325c;
    padding: 0.75rem 1rem;
    text-decoration: none;
    font-weight: 500;
}

.navbar-slds .nav-link:hover {
    color: #0070d2;
}

/* Body offset for fixed navbar */
body {
    padding-top: 64px;
}

/* Utility classes */
.text-white {
    color: #fff !important;
}

.text-warning {
    color: #ffb75d !important;
}

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

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.p-text-justify {
    text-align: justify;
}

/* Icon sizing */
.slds-icon-small {
    width: 1rem;
    height: 1rem;
}

.slds-icon-medium {
    width: 1.5rem;
    height: 1.5rem;
}

/* Button styling */
.slds-button_brand-custom {
    background-color: #0070d2;
    border-color: #0070d2;
    color: #fff;
}

.slds-button_brand-custom:hover {
    background-color: #005fb2;
    border-color: #005fb2;
}

/* Form styling */
.subscribe-form .slds-input {
    border-radius: 0.25rem 0 0 0.25rem;
}

.subscribe-form .slds-button {
    border-radius: 0 0.25rem 0.25rem 0;
}

/* Modal customization */
.slds-modal__header {
    background-color: #0070d2;
}

.slds-modal__header .slds-text-heading_medium {
    color: #fff;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0070d2;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: none;
    z-index: 1000;
}

.scroll-top:hover {
    background-color: #005fb2;
}

/* Loading spinner */
.loading-spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

/* Customer logo styling */
.customer-img-fluid {
    height: 50px;
    width: auto;
    margin: 0 1rem;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.customer-img-fluid:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Profile Page Styles */
#profile .slds-page-header {
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

#profile .slds-card {
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
}

#profile .slds-card__header {
    background-color: #fafafa;
    border-bottom: 1px solid #e5e5e5;
    border-radius: 0.5rem 0.5rem 0 0;
}

#profile .slds-form-element__label {
    font-weight: 600;
    color: #3e3e3c;
}

#profile .slds-input[readonly] {
    background-color: #f3f3f3;
    border-color: #dddbda;
    color: #3e3e3c;
}

/* Description list horizontal alignment */
.slds-dl_horizontal {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1rem;
    align-items: baseline;
}

.slds-dl_horizontal__label {
    font-weight: 600;
    min-width: 120px;
    padding: 0.25rem 0;
}

.slds-dl_horizontal__detail {
    padding: 0.25rem 0;
    word-break: break-word;
}

/* Profile Page Responsive Styles */
@media (max-width: 1024px) {
    #profile .slds-page-header {
        padding: 1rem;
    }

    .slds-dl_horizontal {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .slds-dl_horizontal__label {
        min-width: auto;
        margin-top: 0.5rem;
    }

    .slds-dl_horizontal__detail {
        margin-bottom: 0.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #f3f3f3;
    }
}

@media (max-width: 768px) {
    #profile .slds-grid.slds-gutters_large {
        gap: 0;
    }

    #profile .slds-col.slds-large-size_8-of-12,
    #profile .slds-col.slds-large-size_4-of-12 {
        width: 100%;
    }

    #profile .slds-page-header__title {
        font-size: 1.25rem;
    }

    #profile .slds-card__header-title span {
        font-size: 1rem;
    }

    /* Responsive table for mobile */
    .slds-table_bordered th,
    .slds-table_bordered td {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    #profile .slds-container_center {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    #profile .slds-form-element__label {
        font-size: 0.8125rem;
    }

    #profile .slds-input {
        font-size: 0.875rem;
    }

    /* Stack grid items on mobile */
    .slds-grid.slds-gutters .slds-col {
        padding: 0.5rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section .slds-text-heading_large {
        font-size: 1.75rem;
    }
    
    .hero-section .slds-text-heading_medium {
        font-size: 1.25rem;
    }
    
    .section-padding {
        padding: 2rem 0;
    }
}

/* ==========================================
   SALESFORCE-STYLE HOME PAGE DESIGN
   ========================================== */

/* Hero Section - Salesforce Style */
.sf-hero {
    position: relative;
    background: linear-gradient(135deg, #032d60 0%, #0176d3 50%, #1b96ff 100%);
    padding: 6rem 0 4rem;
    padding-top: calc(64px + 4rem);
    overflow: hidden;
    margin-top: 0;
}

.sf-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(255,255,255,0.05)"/><circle cx="20" cy="80" r="30" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: cover;
}

.sf-hero-content {
    position: relative;
    z-index: 1;
}

.sf-eyebrow {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1b96ff;
    margin-bottom: 1rem;
}

.sf-hero .sf-eyebrow {
    color: #a8d4ff;
}

.sf-hero-title {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.sf-hero-subtitle {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
}

.sf-hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sf-hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Salesforce-style Buttons */
.sf-btn-primary {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #032d60;
    background: #ffffff;
    border: none;
    border-radius: 0.25rem;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

.sf-btn-primary:hover {
    background: #f3f3f3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sf-btn-secondary {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: 0.25rem;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 0.5rem;
}

.sf-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* AI Trends Pills Section */
.sf-trends-section {
    background: #ffffff;
    padding: 2rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.sf-trend-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #0176d3;
    border-radius: 2rem;
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.2s ease;
}

.sf-trend-pill:hover {
    background: #014486;
    color: #ffffff;
}

.sf-trend-pill:hover .slds-icon {
    fill: #ffffff;
}

.sf-trend-pill .slds-icon {
    fill: #ffffff;
    width: 1rem;
    height: 1rem;
}

/* Sections */
.sf-section {
    padding: 5rem 0;
}

.sf-section-white {
    background: #ffffff;
}

.sf-section-gray {
    background: #f4f6f9;
}

.sf-section-dark {
    background: linear-gradient(135deg, #032d60 0%, #0b5cab 100%);
}

.sf-section-title {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #032d60;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.sf-title-light {
    color: #ffffff;
}

.sf-section-subtitle {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.125rem;
    color: #444444;
    max-width: 600px;
    margin: 0 auto;
}

.sf-section-text {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #444444;
    margin-bottom: 1rem;
}

/* Image Card */
.sf-image-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

/* Stat Box */
.sf-stat-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #0176d3;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.sf-stat-box:hover {
    background: #014486;
}

.sf-stat-icon {
    fill: #ffffff;
}

.sf-stat-label {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
}

/* Service Cards */
.sf-service-card {
    background: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.sf-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.sf-service-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.sf-service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sf-service-card:hover .sf-service-card-image img {
    transform: scale(1.05);
}

.sf-service-card-icon {
    position: absolute;
    bottom: -1.5rem;
    left: 1.5rem;
    width: 3rem;
    height: 3rem;
    background: #0176d3;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(1, 118, 211, 0.4);
}

.sf-service-card-icon .slds-icon {
    fill: #ffffff;
    width: 1.5rem;
    height: 1.5rem;
}

.sf-service-card-content {
    padding: 2.5rem 1.5rem 1.5rem;
}

.sf-service-card-title {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #032d60;
    margin-bottom: 0.75rem;
}

.sf-service-card-text {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #444444;
    margin-bottom: 1rem;
}

.sf-link {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0176d3;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sf-link:hover {
    color: #014486;
}

/* Work Cards */
.sf-work-card {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    height: 280px;
    cursor: pointer;
}

.sf-work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sf-work-card:hover img {
    transform: scale(1.1);
}

.sf-work-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(transparent, rgba(3, 45, 96, 0.9));
}

.sf-work-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #0176d3;
    color: #ffffff;
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 1rem;
    margin-bottom: 0.5rem;
}

.sf-work-title {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

/* CTA Card */
.sf-cta-card {
    background: linear-gradient(135deg, #0176d3 0%, #032d60 100%);
    border-radius: 0.75rem;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sf-cta-content {
    text-align: center;
    padding: 2rem;
}

.sf-cta-icon {
    fill: rgba(255, 255, 255, 0.8);
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}

.sf-cta-title {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.sf-cta-text {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.25rem;
}

.sf-cta-link {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.sf-cta-link:hover {
    text-decoration: underline;
}

/* Value Cards */
.sf-value-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.sf-value-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.sf-value-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.sf-value-icon .slds-icon {
    fill: #ffffff;
    width: 2rem;
    height: 2rem;
}

.sf-value-title {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.sf-value-text {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.sf-eyebrow-light {
    color: #1b96ff;
}

/* Partners Grid */
.sf-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.sf-partner-logo {
    padding: 1rem;
    transition: all 0.3s ease;
}

.sf-partner-logo img {
    max-width: 120px;
    max-height: 50px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.sf-partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive Styles for Salesforce Design */
@media (max-width: 1024px) {
    .sf-hero {
        padding: 4rem 0 3rem;
        padding-top: calc(64px + 3rem);
    }
    
    .sf-hero-title {
        font-size: 2.5rem;
    }
    
    .sf-hero-image-container {
        margin-top: 2rem;
    }
    
    .sf-section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .sf-hero {
        padding: 3rem 0 2rem;
        padding-top: calc(64px + 2rem);
        margin-top: 0;
    }
    
    .sf-hero-title {
        font-size: 2rem;
    }
    
    .sf-hero-subtitle {
        font-size: 1rem;
    }
    
    .sf-btn-primary,
    .sf-btn-secondary {
        display: block;
        text-align: center;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .sf-section {
        padding: 3rem 0;
    }
    
    .sf-section-title {
        font-size: 1.75rem;
    }
    
    .sf-work-card {
        height: 220px;
    }
    
    .sf-cta-card {
        height: 220px;
    }
    
    .sf-partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .sf-hero-title {
        font-size: 1.5rem;
    }
    
    .sf-section-title {
        font-size: 1.5rem;
    }
    
    .sf-trend-pill {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    
    .sf-partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================
   LEGAL PAGES STYLING (Terms, Privacy Policy)
   ========================================== */

/* Legal Hero Section */
.sf-legal-hero {
    position: relative;
    height: 400px;
    min-height: 350px;
    max-height: 450px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 64px;
}

.sf-legal-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.sf-legal-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sf-legal-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(3, 45, 96, 0.85) 0%, rgba(1, 118, 211, 0.75) 100%);
    z-index: 2;
}

.sf-legal-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
}

.sf-legal-hero-title {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sf-legal-hero-subtitle {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Legal Content Section */
.sf-legal-content {
    padding: 4rem 0;
    background: #ffffff;
}

.sf-legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e5e5;
}

.sf-legal-section:last-of-type {
    border-bottom: none;
}

.sf-legal-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #181818;
    margin-bottom: 1.5rem;
}

/* Section Header with Icon */
.sf-legal-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sf-legal-icon {
    width: 2rem;
    height: 2rem;
    fill: #0176d3;
    flex-shrink: 0;
}

.sf-legal-section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: #0176d3;
    color: #ffffff;
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.sf-legal-section-title {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #032d60;
    margin: 0;
}

/* Subsections */
.sf-legal-subsection {
    margin-top: 1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid #e5e5e5;
}

.sf-legal-subsection-title {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #032d60;
    margin-bottom: 0.75rem;
}

.sf-legal-h4 {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #444444;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

/* Table of Contents */
.sf-legal-toc {
    background: #f4f6f9;
    border-radius: 0.5rem;
    padding: 1.5rem 2rem;
    margin-top: 1.5rem;
}

.sf-legal-toc-title {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #032d60;
    margin-bottom: 1rem;
}

.sf-legal-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sf-legal-toc-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #444444;
    font-size: 0.9375rem;
}

.sf-legal-toc-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background: #0176d3;
    border-radius: 50%;
}

/* Info Cards */
.sf-legal-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.sf-legal-info-card {
    background: #f4f6f9;
    border-radius: 0.5rem;
    padding: 1.25rem;
    border-left: 4px solid #0176d3;
}

.sf-legal-info-card h5 {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #032d60;
    margin-bottom: 0.5rem;
}

.sf-legal-info-card p {
    font-size: 0.875rem;
    color: #444444;
    margin: 0;
    line-height: 1.5;
}

/* Highlight Box */
.sf-legal-highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
    border: 1px solid #0176d3;
    border-radius: 0.5rem;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.sf-legal-highlight-icon {
    width: 1.5rem;
    height: 1.5rem;
    fill: #0176d3;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.sf-legal-highlight-box p {
    margin: 0;
    color: #032d60;
    font-size: 0.9375rem;
}

/* Rights List */
.sf-legal-rights-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.sf-legal-right-item {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    padding: 1.25rem;
    transition: border-color 0.2s ease;
}

.sf-legal-right-item:hover {
    border-color: #0176d3;
}

.sf-legal-right-item h4 {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #032d60;
    margin-bottom: 0.5rem;
}

.sf-legal-right-item p {
    font-size: 0.9375rem;
    color: #444444;
    margin: 0;
    line-height: 1.6;
}

/* Contact Section */
.sf-legal-contact {
    background: linear-gradient(135deg, #032d60 0%, #0176d3 100%);
    border-radius: 0.75rem;
    padding: 2.5rem;
    text-align: center;
    margin-top: 3rem;
}

.sf-legal-contact h3 {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.sf-legal-contact p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.sf-legal-contact a {
    color: #ffffff;
    text-decoration: underline;
}

.sf-legal-contact a:hover {
    color: #a8d4ff;
}

/* Legal Pages Responsive */
@media (max-width: 768px) {
    .sf-legal-hero {
        height: 300px;
        min-height: 280px;
        padding-top: 56px;
    }
    
    .sf-legal-hero-title {
        font-size: 2rem;
    }
    
    .sf-legal-hero-subtitle {
        font-size: 1rem;
    }
    
    .sf-legal-content {
        padding: 2rem 0;
    }
    
    .sf-legal-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .sf-legal-section-title {
        font-size: 1.25rem;
    }
    
    .sf-legal-subsection {
        padding-left: 1rem;
    }
    
    .sf-legal-info-cards {
        grid-template-columns: 1fr;
    }
    
    .sf-legal-contact {
        padding: 1.5rem;
    }
    
    .sf-legal-contact h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .sf-legal-hero {
        height: 250px;
        min-height: 220px;
        padding-top: 52px;
    }
    
    .sf-legal-hero-title {
        font-size: 1.5rem;
    }
    
    .sf-legal-section-number {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
}

/* ================================================
   H1B Lottery & Contact Us Page Styles
   ================================================ */

/* Form Page Layout */
.form-page-section {
    padding: 0;
    padding-top: 64px;
}

@media (max-width: 768px) {
    .form-page-section {
        padding-top: 56px;
    }
}

@media (max-width: 480px) {
    .form-page-section {
        padding-top: 52px;
    }
}

.form-page-container {
    width: 100%;
}

.form-page-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f6f9;
    padding: 1rem;
}

.form-page-wrapper--large {
    padding: 1.5rem;
}

.form-content {
    width: 100%;
    max-width: 550px;
}

.form-content--medium {
    max-width: 500px;
}

/* Form Header */
.form-header {
    text-align: center;
    margin-bottom: 0.75rem;
}

.form-header--small {
    margin-bottom: 0.5rem;
}

.form-header-icon {
    background: #0176d3;
    border-radius: 50%;
    padding: 0.75rem;
    display: inline-block;
}

.form-header-icon--small {
    padding: 0.5rem;
}

.form-header-icon svg {
    fill: #fff;
    width: 1.5rem;
    height: 1.5rem;
}

.form-header-icon--small svg {
    width: 1.25rem;
    height: 1.25rem;
}

.form-header-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #032d60;
    margin-top: 0.75rem;
}

.form-header-title--small {
    font-size: 1.25rem;
    margin-top: 0.5rem;
}

.form-header-subtitle {
    color: #706e6b;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-header-subtitle--small {
    font-size: 0.8125rem;
}

/* Form Elements */
.form-label--small {
    font-size: 0.75rem;
}

.form-input--compact {
    padding: 0.4rem 0.75rem 0.4rem 2rem;
    font-size: 0.875rem;
}

.form-select--compact {
    font-size: 0.875rem;
}

.form-textarea--compact {
    font-size: 0.875rem;
    resize: none;
}

.form-help--small {
    font-size: 0.75rem;
}

/* Form Submit Button */
.form-submit-btn {
    padding: 0.5rem;
}

.form-submit-btn--large {
    padding: 0.625rem;
}

/* Contact Info */
.contact-info-text {
    color: #444;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.contact-info-link {
    color: #0176d3;
    font-weight: 700;
}

/* Alert Messages */
.form-alert {
    display: none;
}

/* Footer Shadow CTA */
.footer-cta-box {
    background: rgba(255,255,255,0.1);
    border-radius: 0.5rem;
}

.footer-cta-title {
    margin-bottom: 0.125rem;
}

.footer-cta-subtitle {
    opacity: 0.8;
}

/* Footer Bottom Border */
.footer-bottom-section {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
}

/* Social Icons Alignment */
.social-icons--right {
    text-align: right;
}

/* Copyright Text */
.copyright-text {
    opacity: 0.8;
}

/* Text Bold */
.text-bold {
    font-weight: 700;
}

/* Responsive adjustments for form pages */
@media (max-width: 768px) {
    .form-page-wrapper {
        padding: 1rem;
    }
    
    .form-content {
        max-width: 100%;
    }
    
    .form-header-title {
        font-size: 1.25rem;
    }
    
    .form-header-subtitle {
        font-size: 0.8125rem;
    }
    
    .social-icons--right {
        text-align: left;
    }
}

/* Insights Hero Section Responsive */
@media (max-width: 768px) {
    .insights-hero-section {
        padding-top: 56px !important;
    }
}

@media (max-width: 480px) {
    .insights-hero-section {
        padding-top: 52px !important;
    }
}