/* ================================================================
   TRACEPOINT LIGHT THEME - MASTER OVERRIDE
   Version 3.0 - Comprehensive coverage
   ================================================================ */

:root {
    /* Primary Colors */
    --primary: #F5B041;
    --primary-light: #F8C471;
    --primary-dark: #D68910;
    --primary-rgb: 245, 176, 65;
    
    /* Light Theme Surface Colors */
    --background: #FFFFFF;
    --background-alt: #F8F9FA;
    --surface: #FFFFFF;
    --surface-variant: #F5F5F5;
    --surface-dim: #EEEEEE;
    
    /* Light Theme Text Colors */
    --on-primary: #FFFFFF;
    --on-surface: #212121;
    --on-surface-variant: #555555;
    --on-surface-dim: #757575;
    --on-background: #212121;
    --text-color: #212121;
    --text-color-light: #555555;
    
    /* Light Theme Effects */
    --glass-effect: rgba(0, 0, 0, 0.02);
    --glass-border: rgba(0, 0, 0, 0.08);
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --hover-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* ==================== GLOBAL RESETS ==================== */
body {
    background: #FFFFFF !important;
    color: #212121 !important;
}

/* All sections default to light */
section,
.section {
    background: #FFFFFF !important;
    color: #212121 !important;
}

/* Alternating sections */
section:nth-of-type(even),
#challenges-solutions,
#benefits {
    background: #F8F9FA !important;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    color: #212121 !important;
}

p {
    color: #444444 !important;
}

.section-subtitle {
    color: #555555 !important;
}

/* ==================== HEADER & NAV ==================== */
header,
nav,
.header {
    background: #FFFFFF !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.logo-text {
    color: #212121 !important;
    text-shadow: none !important;
}

#nav-menu a,
.nav-links a,
nav a:not(.cta-button) {
    color: #333333 !important;
}

#nav-menu a:hover,
.nav-links a:hover {
    color: var(--primary-dark) !important;
}

#mobile-menu-btn span {
    background-color: #333333 !important;
}

/* Mobile menu open state */
#nav-menu.active {
    background: #FFFFFF !important;
}

#nav-menu.active a {
    color: #333333 !important;
    border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

/* ==================== PAGE TITLES & BANNERS ==================== */
.page-title,
.page-banner,
.page-header,
.privacy-policy .page-title,
.terms-of-use .page-title,
.cookie-policy .page-title,
.about-us .page-title,

    background: linear-gradient(170deg, #F8F9FA 0%, #FFFFFF 100%) !important;
    color: #212121 !important;
}

.page-title h1,
.page-banner h1 {
    color: #212121 !important;
}

.page-title p,
.page-banner p {
    color: #555555 !important;
}

/* Page specific headers */

.about-us header,
.privacy-policy header,
.terms-of-use header,
.cookie-policy header {
    background: #FFFFFF !important;
}

/* ==================== HERO SECTION ==================== */
#hero,
.hero-section {
    background: linear-gradient(170deg, #FFFFFF 0%, #F8F9FA 100%) !important;
}

#hero::before {
    background: 
        radial-gradient(circle at 20% 20%, rgba(245, 176, 65, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 176, 65, 0.05) 0%, transparent 50%) !important;
    opacity: 0.6 !important;
}

.hero-subtitle {
    color: #555555 !important;
}

.stat-item {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.stat-item:hover {
    box-shadow: 0 8px 24px rgba(245, 176, 65, 0.15) !important;
}

.stat-label {
    color: #555555 !important;
}

.trusted-by p {
    color: #757575 !important;
}

/* ==================== RFID SOLUTIONS SECTION ==================== */
#rfid-solutions {
    background: #FFFFFF !important;
}

.rfid-content p {
    color: #444444 !important;
}

/* Tech Feature Cards */
.tech-features-grid {
    gap: 1.5rem !important;
}

.tech-feature-card,
#rfid-solutions .tech-feature-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
}

.tech-feature-card::before {
    background: linear-gradient(90deg, var(--primary), var(--primary-light)) !important;
}

.tech-feature-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(245, 176, 65, 0.3) !important;
}

.tech-feature-card h3,
#rfid-solutions .tech-feature-card h3 {
    color: #212121 !important;
}

.tech-feature-card:hover h3 {
    color: var(--primary-dark) !important;
}

.tech-feature-card p,
#rfid-solutions .tech-feature-card p {
    color: #555555 !important;
}

.tech-feature-card:hover p {
    color: #333333 !important;
}

.tech-icon {
    background: rgba(245, 176, 65, 0.1) !important;
}

.tech-icon i {
    color: var(--primary-dark) !important;
}

/* RFID CTA */
.rfid-cta {
    background: #F8F9FA !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.rfid-cta h3,
.rfid-cta p {
    color: #212121 !important;
}

/* ==================== CHALLENGES SECTION ==================== */
#challenges-solutions {
    background: #F8F9FA !important;
}

.challenge-solution-item {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.challenge-solution-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

.challenge-solution-item h3 {
    color: #212121 !important;
}

.challenge-solution-item p {
    color: #555555 !important;
}

.solution-divider {
    background: linear-gradient(90deg, transparent, rgba(245, 176, 65, 0.5), transparent) !important;
}

.solution-divider span {
    background: #FFFFFF !important;
    color: var(--primary-dark) !important;
}

/* ==================== BENEFITS/CHARTS SECTION ==================== */
#benefits {
    background: #F8F9FA !important;
}

.chart-box,
.benefits-container {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.chart-box h3 {
    color: #212121 !important;
}

.chart-note {
    color: #757575 !important;
}

/* ==================== FEATURES SECTION ==================== */
#features {
    background: #FFFFFF !important;
}

.features-grid {
    gap: 1.5rem !important;
}

.feature-item {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.feature-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(245, 176, 65, 0.3) !important;
}

.feature-item h3 {
    color: #212121 !important;
}

.feature-item p {
    color: #555555 !important;
}

.feature-icon {
    background: rgba(245, 176, 65, 0.1) !important;
}

.feature-icon i {
    color: var(--primary-dark) !important;
}

/* ==================== INDUSTRIES SECTION ==================== */
#industries {
    background: #F8F9FA !important;
}

.industries-grid {
    gap: 1.5rem !important;
}

.industry-item {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.industry-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

.industry-item h3 {
    color: #212121 !important;
}

.industry-item p {
    color: #555555 !important;
}

.industry-icon {
    background: rgba(245, 176, 65, 0.1) !important;
}

.industry-icon i {
    color: var(--primary-dark) !important;
}

/* ==================== PACKAGES/PRICING ==================== */
#packages,
.pricing-section {
    background: #FFFFFF !important;
}

.pricing-card,
.package-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
}

.pricing-card:hover,
.package-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1) !important;
}

.pricing-card.popular,
.pricing-card.featured {
    border-color: var(--primary) !important;
}

.pricing-card h3,
.package-card h3 {
    color: #212121 !important;
}

.pricing-card p,
.package-card p {
    color: #555555 !important;
}

.price {
    color: #212121 !important;
}

.price-period {
    color: #757575 !important;
}

/* ==================== CONTACT SECTION ==================== */
#contact,
.contact-section {
    background: #FFFFFF !important;
}

.contact-info {
    color: #555555 !important;
}

.contact-item {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.contact-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

.contact-item h3 {
    color: #212121 !important;
}

.contact-item p {
    color: #555555 !important;
}

/* ==================== CTA SECTIONS ==================== */
#cta,
.cta-section,
.bottom-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: #FFFFFF !important;
}

#cta h2,
.cta-section h2,
.bottom-cta h2 {
    color: #FFFFFF !important;
}

#cta p,
.cta-section p,
.bottom-cta p {
    color: rgba(255, 255, 255, 0.9) !important;
}

#cta .cta-button,
.cta-section .cta-button,
.bottom-cta .cta-button {
    background: #FFFFFF !important;
    color: var(--primary-dark) !important;
}

#cta .cta-button:hover,
.cta-section .cta-button:hover {
    background: #F5F5F5 !important;
}

/* ==================== BUTTONS ==================== */
.cta-button,
.btn-primary,
button[type="submit"] {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: #FFFFFF !important;
}

.cta-button:hover,
.btn-primary:hover {
    box-shadow: 0 8px 24px rgba(245, 176, 65, 0.3) !important;
}

.secondary-button,
.btn-secondary {
    background: transparent !important;
    color: var(--primary-dark) !important;
    border: 2px solid var(--primary) !important;
}

.secondary-button:hover,
.btn-secondary:hover {
    background: rgba(245, 176, 65, 0.1) !important;
}

/* ==================== FORMS ==================== */
.form-group label,
label {
    color: #212121 !important;
}

.form-group input,
.form-group textarea,
.form-group select,
input:not([type="submit"]):not([type="button"]),
textarea,
select {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    color: #212121 !important;
}

.form-group input:hover,
.form-group textarea:hover,
input:hover,
textarea:hover {
    background: #FAFAFA !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}

.form-group input:focus,
.form-group textarea:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(245, 176, 65, 0.15) !important;
    background: #FFFFFF !important;
}

input::placeholder,
textarea::placeholder {
    color: #9E9E9E !important;
}

.phone-input-container {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

.phone-input-container:hover {
    background: #FAFAFA !important;
}

.phone-input-container:focus-within {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(245, 176, 65, 0.15) !important;
}

/* Footer form */
.footer-form-group input[type="email"] {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #FFFFFF !important;
}

/* ==================== APPLICATION/DEMO ITEMS ==================== */
.application-item {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.application-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

/* ==================== FOOTER ==================== */
footer,
.footer,
.modern-footer {
    background: #1A1C21 !important;
    color: #E4E6EB !important;
}

footer h3,
footer h4,
.footer h3,
.footer h4 {
    color: #FFFFFF !important;
}

footer p,
footer a,
.footer p,
.footer a {
    color: #B8BCC8 !important;
}

footer a:hover,
.footer a:hover {
    color: var(--primary) !important;
}

.footer-logo .grid-cell {
    background-color: var(--primary) !important;
}

/* ==================== MODALS ==================== */
.modal,
.modal-content {
    background: #FFFFFF !important;
    color: #212121 !important;
}

.modal h2 {
    color: #212121 !important;
}

.modal p {
    color: #555555 !important;
}

/* ==================== CHAT WIDGET ==================== */
.chat-widget,
#chat-container {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.chat-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
}

.chat-messages {
    background: #F8F9FA !important;
}

.chat-input {
    background: #FFFFFF !important;
}

/* ==================== MISC ==================== */
.back-to-top,
#back-to-top {
    background: var(--primary) !important;
    color: #FFFFFF !important;
}

.mobile-menu-divider {
    background: rgba(0, 0, 0, 0.1) !important;
}

hr {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

blockquote {
    background: #F8F9FA !important;
    border-left-color: var(--primary) !important;
    color: #555555 !important;
}

code {
    background: #F5F5F5 !important;
    color: #C62828 !important;
}

/* Tables */
table {
    background: #FFFFFF !important;
}

th {
    background: #F5F5F5 !important;
    color: #212121 !important;
}

td {
    color: #333333 !important;
    border-bottom-color: rgba(0, 0, 0, 0.05) !important;
}

tr:hover {
    background: #FAFAFA !important;
}

/* Links */
a:not(.cta-button):not(.nav-link) {
    color: var(--primary-dark);
}

/* Selection */
::selection {
    background: rgba(245, 176, 65, 0.3);
    color: #212121;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    background: #BDBDBD;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9E9E9E;
}

/* ==================== ABOUT PAGE ==================== */
.about-section {
    background: #FFFFFF !important;
}

.team-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.team-card h3 {
    color: #212121 !important;
}

.team-card p {
    color: #555555 !important;
}

/* ==================== FAQ ==================== */
.faq-item {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.faq-question {
    color: #212121 !important;
}

.faq-answer {
    color: #555555 !important;
}

/* ==================== CTA SECTION FIX ==================== */
#cta h2,
.cta-section h2,
.bottom-cta h2 {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #FFFFFF !important;
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

#cta p,
.cta-section p,
.bottom-cta p {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Chart axis/legend colors for light theme */
.chart-box {
    --chart-text-color: #374151;
    --chart-grid-color: rgba(0, 0, 0, 0.08);
}

/* CTA section secondary button fix */
#cta .secondary-button,
.cta-section .secondary-button {
    background: transparent !important;
    color: #FFFFFF !important;
    border: 2px solid #FFFFFF !important;
}

#cta .secondary-button:hover,
.cta-section .secondary-button:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
}

/* Footer logo text white */
.modern-footer .logo-text,
footer .logo-text {
    color: #FFFFFF !important;
}

/* ==================== DARK HEADER ==================== */
header,
nav,
.header,
.main-header {
    background: #1A1C21 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Logo text white on dark header */
header .logo-text,
nav .logo-text,
.header .logo-text {
    color: #FFFFFF !important;
}

/* Nav menu links white */
#nav-menu a,
.nav-links a,
nav a:not(.cta-button),
header a:not(.cta-button) {
    color: #FFFFFF !important;
}

#nav-menu a:hover,
.nav-links a:hover,
nav a:not(.cta-button):hover {
    color: var(--primary) !important;
}

/* Mobile menu button (hamburger) white */
#mobile-menu-btn span,
.mobile-menu-btn span {
    background-color: #FFFFFF !important;
}

/* Mobile menu open state - dark bg */
#nav-menu.active {
    background: #1A1C21 !important;
}

#nav-menu.active a {
    color: #FFFFFF !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

/* REQUEST QUOTE button stays orange */
header .cta-button,
nav .cta-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: #FFFFFF !important;
}

/* Force nav links white on dark header */
header .nav-links a,
header nav a,
.nav-links a:not(.cta-button),
nav .nav-links a,
#nav-menu a:not(.cta-button) {
    color: #FFFFFF !important;
}

header .nav-links a:hover,
.nav-links a:not(.cta-button):hover,
#nav-menu a:not(.cta-button):hover {
    color: var(--primary) !important;
}

/* ==================== DARK PAGE BANNERS ==================== */
.page-title,
.page-banner,
.page-header {
    background: linear-gradient(180deg, #1A1C21 0%, #0f0f14 100%) !important;
    padding: 140px 0 60px !important;
}

.page-title h1,
.page-banner h1,
.page-header h1 {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

.page-title p,
.page-banner p,
.page-header p,
.page-title .subtitle,
.page-banner .subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Breadcrumbs on dark background */
.breadcrumb,
.breadcrumbs {
    color: rgba(255, 255, 255, 0.5) !important;
}

.breadcrumb a,
.breadcrumbs a {
    color: rgba(255, 255, 255, 0.7) !important;
}

.breadcrumb a:hover,
.breadcrumbs a:hover {
    color: var(--primary) !important;
}

/* ==================== FORM FIXES ==================== */
/* Phone country selector */
.country-select,
.phone-input-container select {
    background: #FFFFFF !important;
    color: #212121 !important;
    border: 1px solid #e0e0e0 !important;
}

.country-select option {
    color: #212121 !important;
    background: #FFFFFF !important;
}

/* Form inputs */
.contact-form input,
.contact-form select,
.contact-form textarea,
.demo-request-form input,
.demo-request-form select,
.demo-request-form textarea {
    background: #FFFFFF !important;
    color: #212121 !important;
    border: 2px solid #e8e8e8 !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    transition: all 0.3s ease !important;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.demo-request-form input:focus,
.demo-request-form select:focus,
.demo-request-form textarea:focus {
    border-color: #EBA500 !important;
    box-shadow: 0 0 0 3px rgba(235, 165, 0, 0.15) !important;
    outline: none !important;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999 !important;
}

/* Form labels */
.contact-form label,
.demo-request-form label {
    color: #333 !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.required {
    color: #EBA500 !important;
}

/* Input hints */
.input-hint {
    color: #888 !important;
}

/* Checkbox text */
.checkbox-text {
    color: #555 !important;
}

/* Form card styling */
.form-card,
.contact-form-wrapper,
.demo-form-wrapper {
    background: #FFFFFF !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08) !important;
    padding: 40px !important;
}

/* Submit button enhancement */
.contact-form .cta-button,
.demo-request-form .cta-button {
    width: 100% !important;
    padding: 16px 32px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    margin-top: 20px !important;
}

/* ==================== CONTACT PAGE DARK BACKGROUND ==================== */
.page-content {
    background: linear-gradient(180deg, #1A1C21 0%, #0f0f14 100%) !important;
    padding: 60px 0 !important;
}

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

/* Contact info section - light text on dark */
.contact-info {
    color: #FFFFFF !important;
}

.contact-info h3 {
    color: #FFFFFF !important;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.contact-item i {
    color: #EBA500 !important;
}

/* Form card stays white */
.contact-form-wrapper,
.form-card {
    background: #FFFFFF !important;
    border-radius: 16px !important;
    padding: 40px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

/* ==================== COUNTRY SELECTOR FIX ==================== */
#country-code,
select#country-code,
.country-select,
.phone-input-container select,
select.country-select {
    background-color: #FFFFFF !important;
    color: #212121 !important;
    -webkit-text-fill-color: #212121 !important;
    border: 1px solid #e0e0e0 !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

#country-code option,
select#country-code option,
.country-select option {
    color: #212121 !important;
    background-color: #FFFFFF !important;
    -webkit-text-fill-color: #212121 !important;
}

/* ==================== CONTACT DARK CONTAINERS ==================== */
.contact-form-container {
    background: linear-gradient(135deg, #1a1c21 0%, #2d2d35 100%) !important;
    border-radius: 16px !important;
    padding: 40px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.contact-item {
    background: linear-gradient(135deg, #1a1c21 0%, #2d2d35 100%) !important;
    border-radius: 12px !important;
    padding: 25px !important;
    margin-bottom: 20px !important;
}

.contact-item h3 {
    color: #FFFFFF !important;
}

.contact-item p,
.contact-item a {
    color: rgba(255, 255, 255, 0.85) !important;
}

.contact-item i {
    color: #EBA500 !important;
}

/* ==================== CONTACT PAGE COMPLETE REDESIGN ==================== */
/* Dark page background */
.page-content {
    background: linear-gradient(180deg, #1A1C21 0%, #0f0f14 100%) !important;
    padding: 80px 0 !important;
    min-height: 80vh;
}

/* Container layout */
.contact-container {
    display: grid !important;
    grid-template-columns: 350px 1fr !important;
    gap: 40px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    align-items: start !important;
}

/* Left sidebar - contact info */
.contact-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.contact-item {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    padding: 28px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 20px !important;
    transition: all 0.3s ease !important;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(235, 165, 0, 0.3) !important;
    transform: translateY(-2px) !important;
}

.contact-item i {
    width: 50px !important;
    height: 50px !important;
    background: linear-gradient(135deg, #EBA500 0%, #FFC529 100%) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.3rem !important;
    color: #1a1a1a !important;
    flex-shrink: 0 !important;
}

.contact-item h3 {
    color: #FFFFFF !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin: 0 0 8px 0 !important;
}

.contact-item p,
.contact-item a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    text-decoration: none !important;
}

.contact-item a:hover {
    color: #EBA500 !important;
}

/* Right side - form card */
.contact-form-container {
    background: #FFFFFF !important;
    border-radius: 20px !important;
    padding: 45px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
}

/* Form title if exists */
.contact-form-container h2,
.contact-form h2 {
    color: #1a1a1a !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    margin-bottom: 30px !important;
}

/* Form labels */
.contact-form label {
    color: #333 !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* Form inputs */
.contact-form input,
.contact-form select,
.contact-form textarea {
    background: #f8f9fa !important;
    border: 2px solid #e8e8e8 !important;
    border-radius: 10px !important;
    padding: 14px 16px !important;
    color: #212121 !important;
    font-size: 1rem !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    background: #FFFFFF !important;
    border-color: #EBA500 !important;
    box-shadow: 0 0 0 4px rgba(235, 165, 0, 0.15) !important;
    outline: none !important;
}

/* Input hint text */
.input-hint {
    color: #888 !important;
    font-size: 0.8rem !important;
    margin-top: 6px !important;
}

/* Form rows */
.form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
}

.form-group {
    margin-bottom: 20px !important;
}

/* Submit button */
.contact-form .cta-button,
#contact-submit-btn {
    width: 100% !important;
    padding: 18px 32px !important;
    background: linear-gradient(135deg, #EBA500 0%, #FFC529 100%) !important;
    color: #1a1a1a !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 10px !important;
}

.contact-form .cta-button:hover,
#contact-submit-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(235, 165, 0, 0.4) !important;
}

/* Checkbox styling */
.checkbox-text {
    color: #555 !important;
    font-size: 0.9rem !important;
}

/* Mobile responsive */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr !important;
    }
    
    .contact-info {
        order: 2 !important;
    }
    
    .contact-form-container {
        order: 1 !important;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
    }
}

/* ==================== CONTACT FIX - TEXT VISIBILITY ==================== */
.page-content,
.page-content .content-wrapper {
    background: linear-gradient(180deg, #1A1C21 0%, #0f0f14 100%) !important;
}

.contact-info,
.contact-info > div {
    background: transparent !important;
}

.contact-item {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.contact-item > div {
    flex: 1;
}

.contact-item h3,
.contact-item > div > h3,
.contact-info h3 {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin: 0 0 10px 0 !important;
}

.contact-item p,
.contact-item > div > p,
.contact-info p,
.contact-item a,
.contact-info a {
    color: rgba(255, 255, 255, 0.8) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin: 4px 0 !important;
}

.contact-item a:hover {
    color: #EBA500 !important;
    -webkit-text-fill-color: #EBA500 !important;
}

/* ==================== PAGE CONTENT DARK ==================== */
/* REVERT - Light backgrounds for all pages */
section.page-content,
.page-content,
.page-content .content-wrapper {
    background: #f8f9fa !important;
}

/* Only contact page keeps dark styling - use body class */
body.contact-page .page-content,
body.contact-page .page-content .content-wrapper {
    background: linear-gradient(180deg, #1A1C21 0%, #0f0f14 100%) !important;
}
