/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FFFFFF;
    --secondary-color: #9c9a04;
    --text-color: #000000;
    --text-light: #61656e;
    --bg-color: #000000;
    --bg-light: #f9fafb;
    --border-color: #cbdbf7;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; */
    font-family: Calibri, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Section - Now part of main content */
.navigation-section {
    padding: 2rem 0 !important;
    text-align: left;
    background: transparent;
}

header.hero {
    padding: 1rem 0;
    text-align: left;
    background: transparent;
    box-shadow: none;
    position: static;
}

.navbar {
    padding: 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 72px;
    width: auto;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent;
}

.nav-links a:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.15);
}

.cta-btn {
    background-color: var(--text-color);
    color: var(--secondary-color);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    display: block;
}

/* Hero Section */
.hero {
    background: transparent;
    color: var(--text-color);
    padding: 6rem 0;
    text-align: center;
}

.footer-content-section {
    background: transparent;
    padding: 3rem 0 1rem;
    text-align: left;
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* .hero-subheadline {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
} */

.hero-solutions {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-left: 80px;
    text-align: left;
}

.hero-services {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-left: 80px;
    text-align: left;
}

.hero-content p {
    font-size: 1rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button {
    background-color: var(--text-color);
    color: var(--secondary-color);
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-buttons button {
    min-width: 300px;
    padding: 14px 24px;
    font-size: 1rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Section Styles */
section {
    padding: 4rem 0;
    background: transparent;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-color);
    margin-top: 4rem;
}

.about {
    background: transparent;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.about p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.intro-text {
    font-size: 1.25rem;
    color: white;
    font-weight: 500;
    margin-bottom: 2rem;
}

.difference {
    background: transparent;
    padding: 4rem 0;
}

.difference h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: white;
}

.difference .content-wrapper p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.25rem;
    color: white;
    font-weight: 600;
    text-align: center;
    margin-top: 2rem;
}

/* Vision & Mission Section */
.vision-mission {
    background: transparent;
    padding: 4rem 0;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.vision-card,
.mission-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 0.5rem;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.vision-card h2,
.mission-card h2 {
    color: var(--text-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.vision-card p {
    font-size: 1.125rem;
    color: var(--text-color);
    line-height: 1.8;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-list li {
    font-size: 1.125rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.mission-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.25rem;
}

.mission-list li:last-child {
    margin-bottom: 0;
}

/* Ritvich Edge Section */
.ritvich-edge {
    background: transparent;
    padding: 4rem 0;
}

.ritvich-edge h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-color);
}

.edge-list {
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.edge-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.edge-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.15);
}

.edge-item:last-child {
    margin-bottom: 0;
}

.edge-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.edge-content {
    flex: 1;
}

.edge-content h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.edge-content p {
    color: var(--text-color);
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0;
}

.edge-closing {
    text-align: center;
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
    font-style: italic;
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Solutions Section */
.solutions {
    background: transparent;
    padding: 4rem 0;
}

.solutions-list {
    max-width: 1100px;
    margin: 0 auto;
}

.solution-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2.5rem;
    border-left: 4px solid white;
    transition: transform 0.3s ease, background 0.3s ease;
}

.solution-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.solution-item:last-of-type {
    margin-bottom: 0;
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.solution-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.solution-header h2 {
    font-size: 1.75rem;
    color: var(--text-color);
    margin: 0;
    text-align: left;
    font-weight: 600;
    line-height: 1.3;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 4.5rem;
}

.solution-features li {
    font-size: 1.125rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.solution-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

.solution-features li:last-child {
    margin-bottom: 0;
}

.solutions-closing {
    text-align: center;
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
    font-style: italic;
    max-width: 900px;
    margin: 4rem auto 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Services Page Section */
.services-page {
    background: transparent;
    padding: 4rem 0;
}

.services-list {
    max-width: 1100px;
    margin: 0 auto;
}

.service-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2.5rem;
    border-left: 4px solid white;
    transition: transform 0.3s ease, background 0.3s ease;
    display: flex; 
    align-items: flex-start; 
    gap: 2rem;
}

.service-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.service-item:last-of-type {
    margin-bottom: 0;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.service-header h2 {
    font-size: 1.75rem;
    color: var(--text-color);
    margin: 0;
    text-align: left;
    font-weight: 600;
    line-height: 1.3;
}

.service-description {
    font-size: 1.125rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.service-details {
    margin-bottom: 1.5rem;
}

.service-details h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 0;
}

.service-features li {
    font-size: 1rem;
    color: var(--secondary-color);
    line-height: 1.8;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

.service-features li:last-child {
    margin-bottom: 0;
}

.service-cta {
    background-color: var(--text-color);
    color: var(--secondary-color);
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    margin-top: 1.5rem;
}

.service-cta:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.services-image {
    width: 100%;
    max-width: 300px;
    border-radius: 20px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
    margin: 48px 0px 48px 0px;
    object-fit: cover;
    /* Remove blend mode and use mask for fading edges */
    filter: brightness(0.95) contrast(1.05);
    /* Fading edge mask using a radial gradient to transparent, so underlying --secondary-color shows */
    -webkit-mask-image: radial-gradient(circle, #000 75%, transparent 100%);
    mask-image: radial-gradient(circle, #000 75%, transparent 100%);
    background-color: var(--secondary-color);
    /* fallback for environments without masks: subtle soft-light blend fallback */
    mix-blend-mode: soft-light;
}

.service-content {
    flex: 2;
}

.success-stories {
    background: transparent;
    padding: 4rem 0;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.story-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.story-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.story-card h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.story-card p {
    color: var(--text-color);
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0;
}

.story-card strong {
    color: var(--text-color);
    font-weight: 700;
}

.testimonial {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 3rem auto;
    max-width: 800px;
    text-align: center;
    border-left: 4px solid white;
}

.testimonial blockquote {
    font-size: 1.5rem;
    color: var(--text-color);
    font-style: italic;
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.testimonial cite {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: normal;
}

.cta-section {
    text-align: center;
    margin-top: 2rem;
}

/* Insights Section */
.insights {
    background: transparent;
    padding: 4rem 0;
}

.section-intro {
    font-size: 1.25rem;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 500;
}

.insights-content {
    max-width: 900px;
    margin: 0 auto;
}

.insights-subtitle {
    font-size: 1.125rem;
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.insights-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.insights-list li {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.insights-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: white;
    font-weight: bold;
}

.insights-list li:last-child {
    margin-bottom: 0;
}

/* Leadership Section */
.leadership {
    background: transparent;
    padding: 4rem 0;
}

.leadership-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 2rem auto;
}

.leader-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.leader-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.leader-item h3 {
    color: white;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

/* Partners Section */
.partners {
    background: transparent;
    padding: 4rem 0;
}

.partners-content {
    max-width: 1000px;
    margin: 0 auto;
}

.partners-content h3 {
    font-size: 1.75rem;
    color: white;
    margin: 2rem 0 1.5rem 0;
    font-weight: 600;
}

.partners-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.partners-list li {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.partners-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
}

.partners-list li strong {
    color: white;
    font-weight: 600;
}

.partners-closing {
    text-align: center;
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.why-partner {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 3rem;
}

.why-partner h3 {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.why-partner-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-partner-list li {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.why-partner-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.why-partner-list li:last-child {
    margin-bottom: 0;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-light);
}

/* Contact Section */
.contact {
    background-color: var(--bg-light);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-button {
    width: 100%;
    background-color: var(--text-color);
    color: var(--secondary-color);
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.loader {
    display: inline-block;
}

/* Contact Page Section */
.contact-section {
    background: transparent;
    padding: 4rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: fit-content;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-align: left;
}

.contact-info > p {
    font-size: 1.125rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item h3 {
    font-size: 1.125rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-color);
    font-size: 1rem;
    margin: 0;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: white;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: left;
}

.contact-form-wrapper .contact-form {
    max-width: 100%;
}

.required {
    color: #dc2626;
    font-weight: 600;
}

.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-group select option {
    padding: 0.5rem;
}

.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: none;
    font-size: 1rem;
    line-height: 1.6;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
    display: block;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
    display: block;
}

.form-message.warning {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #f59e0b;
    display: block;
}

.mailto-link {
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.mailto-link:hover {
    background-color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

.footer {
    background: transparent;
    color: white;
    padding: 3rem 0 1rem;
}

footer.hero {
    background: transparent;
    padding: 3rem 0 1rem;
    text-align: left;
}

section.footer-content-section {
    padding: 3rem 0 1rem;
    background: transparent;
}

.footer-container {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    height: 72px;
    width: 72px;
}

.tagline {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1.125rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        left: -100%;
        top: 100%;
        flex-direction: column;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: none;
        padding: 2rem 0;
        gap: 1rem;
        z-index: 1000;
    }

    .navigation-section .nav-links {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        box-shadow: none;
    }

    .navigation-section .nav-links a {
        color: white;
    }

    .nav-links.active {
        left: 0;
    }

    .cta-btn {
        display: none;
    }

    .navbar .container {
        flex-wrap: wrap;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .cta-button {
        width: 100%;
    }

    section h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    .edge-item {
        flex-direction: column;
        gap: 1rem;
    }

    .edge-item:hover {
        transform: translateY(-5px);
    }

    .edge-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .solution-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .solution-header h2 {
        font-size: 1.5rem;
    }

    .solution-features {
        padding-left: 0;
    }

    .solution-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .service-header h2 {
        font-size: 1.5rem;
    }

    .service-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .stories-grid {
        grid-template-columns: 1fr;
    }

    .testimonial blockquote {
        font-size: 1.25rem;
    }

    .leadership-list {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        margin-bottom: 2rem;
    }
}

/* FULL-SCREEN SLIDE FRAMEWORK */
#ritvich-slides {
    /* height: 100vh;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: y proximity; */
    width: 100%;
    height: auto;          /* allow page to grow */
    overflow: visible;     /* allow scrolling */
    position: relative;
}

html {
    scroll-behavior: smooth;
}

.slide {
    position: relative;
    width: 100%;
    min-height: 90vh;
    padding: 24px 6%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    #slide-dots {
        right: 12px;
        gap: 10px;
    }
    #slide-dots .dot {
        width: 10px;
        height: 10px;
    }
}

/* CLIENT SLIDE */
#clients-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
}

.clients-subtitle {
    margin-top: 10px;
    font-size: 1.1rem;
    opacity: 0.8;
}

.clients-logos {
    margin-top: 40px;
    max-width: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
}

.clients-logos img {
    height: 70px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: 0.3s ease;
    opacity: 0.85;
}

.clients-logos img:hover {
    filter: grayscale(0%);
    transform: scale(1.08);
    opacity: 1;
}

.clients-note {
    margin-top: 40px;
    font-size: 0.9rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .clients-logos img {
        height: 55px;
    }
}

.clients-slider {
    overflow: hidden;
    width: 100%;
    margin-top: 40px;
    position: relative;
}

.clients-slider.two-rows {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-top: 40px;
}

.clients-track {
    display: flex;
    gap: 60px;
    width: max-content;
    align-items: center;
}

.clients-track img {
    height: 70px;
    opacity: 0.8;
    filter: grayscale(30%);
    transition: 0.3s ease;
}

.clients-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

/* Row 1 → scroll left */
.track-1 {
    animation: scroll-left 25s linear infinite;
}

/* Row 2 → scroll right */
.track-2 {
    animation: scroll-right 30s linear infinite;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@media (max-width: 768px) {
    .clients-track img { height: 55px; }
    .track-1 { animation-duration: 18s; }
    .track-2 { animation-duration: 20s; }
}

/* ===== SOLUTIONS WAVE SECTION ===== */
#solutions-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tech-subtitle {
    margin-top: 10px;
    opacity: .8;
}

.wave-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 260px;
    margin-top: 70px;
    overflow: visible;
}

.wave-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.wave-logo {
    position: absolute;
    height: 72px;
    filter: grayscale(20%);
    opacity: 0.95;
    transition: .3s;
    animation: waveFloat 4s ease-in-out infinite;
}

.wave-logo:hover {
    filter: brightness(1.35) contrast(1.2) saturate(1.3);
    opacity: 1;
    transform: scale(1.22);
    z-index: 2;
    box-shadow: 0 0 18px rgba(198, 166, 107, 0.65),
                0 0 28px rgba(198, 166, 107, 0.35);
    border-radius: 8px;
}

.logo-1 { top: -10px; left: 0%;    animation-delay: .1s; }
.logo-2 { top: 55px; left: 12%;  animation-delay: .3s; }
.logo-3 { top: 10px; left: 26%;  animation-delay: .5s; }
.logo-4 { top: 95px; left: 40%;  animation-delay: .7s; }
.logo-5 { top: 35px; left: 54%;  animation-delay: .9s; }
.logo-6 { top: 105px; left: 68%;  animation-delay: 1.1s; }
.logo-7 { top: 5px; left: 82%;  animation-delay: 1.3s; }
.logo-8 { top: 60px; left: 96%;  animation-delay: 1.5s; }

@keyframes waveFloat {
    0%   { transform: translateY(0); }
    25%  { transform: translateY(-35px); }
    50%  { transform: translateY(-10px); }
    75%  { transform: translateY(30px); }
    100% { transform: translateY(0); }
}

@media(max-width:768px){
    .wave-container { height: 200px; }
    .wave-logo { height: 50px; }
}

/* HERO LAYOUT */
#home-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 120px 8%;
    text-align: left;
}

.hero-wrapper {
    display: flex;
    width: 100%;
    max-width: 1300px;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: #000000 !important;
}

.hero-title .highlight {
    color: #C6A66B;
}

.hero-subheadline {
    font-size: 1.2rem;
    margin: 16px 0px -12px 0px;
    font-weight: 600;
    opacity: 0.85;
    color: #000000 !important;
}

.hero-description {
    margin-top: 14px;
    line-height: 1.55;
    opacity: 0.9;
}

.content-point {
    margin: -6px 24px 12px 24px;
    color: #000000 !important;
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    gap: 16px;
}

/* .hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
} */

.hero-image {
    width: 90%;
    max-width: 360px;
    border-radius: 14px;
    box-shadow: 0 0 24px rgba(0,0,0,0.12);
}

.cta-button {
    background: var(--text-color);
    border: none;
    padding: 12px 22px;
    border-radius: 6px;
    color: var(--secondary-color);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.cta-button:hover {
    background: var(--primary-color);
}

.cta-button-secondary {
    background: transparent;
    border: 2px solid #C6A66B;
    color: #C6A66B;
}
.cta-button-secondary:hover {
    background: #C6A66B;
    color: #000;
}

@media(max-width:900px){
    #home-slide { text-align:center; padding-top:140px; }
    .hero-wrapper { flex-direction:column; }
    .hero-visual { order:-1; }
}

.hero-clean-white {
    width: 80%;
    max-width: 420px;
    border-radius: 20px;
    object-fit: cover;
    mask-image: radial-gradient(circle at center, 
                  rgba(0,0,0,1) 60%, 
                  rgba(0,0,0,0) 100%);
    -webkit-mask-image: radial-gradient(circle at center, 
                          rgba(0,0,0,1) 60%, 
                          rgba(0,0,0,0) 100%);
    mix-blend-mode: soft-light;
    filter: brightness(0.95) contrast(1.05);
}

.hero-clean-white:hover {
    filter: brightness(1) contrast(1.08);
}

.hero-visual {
    padding: 24px;
    border-radius: 16px;
}

#services-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 6px 80px;
    text-align: center;
}

.slide-title {
    font-size: 2rem;
    margin-bottom: 6px;
}

.slide-subtitle {
    color: black !important;
    margin-bottom: 6px;
}

.slide-info {
    color: white !important;
    margin-bottom: 6px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 80%;
    max-width: 840px;
}

.service-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(198,166,107,0.25);
    padding: 12px;
    border-radius: 14px;
    transition: 0.35s;
    cursor: pointer;
    backdrop-filter: blur(6px);
}

.service-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 12px;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #C6A66B;
    box-shadow: 0 0 22px rgba(198,166,107,0.28);
    background: rgba(198,166,107,0.08);
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        width: 80%;
    }
}

/* Animation startup class ONLY! Use on ".slide" if you have a JS animation library,
   but NOT for default display, otherwise you may have .slide with opacity 0 when JS fails. */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.9s cubic-bezier(.18,.83,.35,1.15);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal-stagger > *.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Carousel common styles + Animation for carousel items */
#home-carousel .carousel-container {
    width: 100%;
    position: relative;
}
#home-carousel .carousel-track {
    width: 100%;
    position: relative;
}
#home-carousel .carousel-slide {
    /* Fade + slide effect for carousel transitions */
    transition:
        opacity 0.7s cubic-bezier(.5, .2, .15, 1),
        visibility 0.7s,
        transform 0.7s cubic-bezier(.5, .2, .15, 1);
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 0; top: 0; width: 100%; z-index: 1;
    transform: translateY(40px) scale(0.98);
    pointer-events: none;
}
#home-carousel .carousel-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 2;
    /* Animate slide in */
    transform: translateY(0) scale(1);
    pointer-events: auto;
    animation: carousel-slide-in 0.7s cubic-bezier(.5, .2, .15, 1) both;
}
#home-carousel .carousel-slide.prev {
    /* Used for outgoing slide, if JS adds .prev during transition! */
    animation: carousel-slide-out 0.7s cubic-bezier(.5, .2, .15, 1) both;
    z-index: 1;
}
#home-carousel .carousel-track {
    min-height: 480px; /* to help maintain consistent height during transitions */
}
.carousel-dots {
    margin: 0 auto;
    padding: 8px 0 0 0;
    user-select: none;
}
.carousel-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    transition: background 0.35s;
    cursor: pointer;
}
.carousel-dot.active {
    background: var(--secondary-color, #C6A66B);
    box-shadow: 0 0 4px rgba(198,166,107,0.25);
}

/* Animations for carousel items */
@keyframes carousel-slide-in {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes carousel-slide-out {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-32px) scale(0.98);
    }
}