/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #000a2d;
    --gold: #febd01;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    color: var(--navy);
}

h2 {
    font-size: 2.5rem;
    color: var(--navy);
}

h3 {
    font-size: 1.75rem;
    color: var(--navy);
}

h4 {
    font-size: 1.25rem;
    color: var(--navy);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
}

.btn-primary:hover {
    background: #e5aa01;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(254, 189, 1, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo{
    text-align: center;
}

.logo-img {
    height: 60px;
    width: auto;
}

.logo-text{
    font-size: 16px;
    font-weight: 500;
}

.metric{
    color:#febd01
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--navy);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--gold);
    color: var(--navy);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: #e5aa01;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--navy);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--navy) 0%, #001550 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(254,189,1,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

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

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features-section {
    background: #F5FBFF;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon img {
    max-width: 50px;
    max-height: 45px;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--navy);
}

.feature-card p {
    color: var(--gray);
    margin-bottom: 0;
}

/* How It Works Section */
.how-it-works-section {
    background: var(--white);
}

.steps-container {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.step-content img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-reverse {
    direction: rtl;
}

.step-reverse .step-content {
    direction: ltr;
}

/* Clients Section */
.clients-section {
    background: var(--light-gray);
}

.testimonials-grid {
    column-count: 3;
    column-gap: 24px;
    margin-bottom: 60px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: 24px;
    display: inline-block;
    width: 100%;
}

.stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 90px;
    height: auto;
}

.author-name {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.author-title {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.practice-logo {
    width: 40px;
    height: 40px;
    object-fit: cover;
    margin-left: auto;
}

.practice-name {
    font-weight: 500;
	font-size: 14px;
    margin-top: 4px;
}

.client-logos {
    text-align: center;
    margin-top: 60px;
}

.client-logos h3 {
    margin-bottom: 2rem;
    color: var(--navy);
}

.logo-slider {
    width: 100%;
    padding: 10px 0 0;
}

.logo-slider .swiper-wrapper {
    align-items: center;
	display: flex;
  	width: max-content;
  	animation: logo-marquee 45s linear infinite;
}

.logo-slider:hover .swiper-wrapper {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .logo-slider .swiper-wrapper {
    animation: none;
  }
}

.logo-slider .swiper-slide {
    width: auto;
    display: flex;
    justify-content: center;
}

.client-logo {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 215px;
    min-width: 150px;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.client-logo:hover img {
    opacity: 1;
}


/* continuous motion */
@keyframes logo-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


/* Integrations Section */
.integrations-section {
    background: var(--white);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.integration-card {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.integration-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.integration-card img {
    width: 80%;
    height: auto;
    margin-bottom: 1.5rem;
}

.integration-card h4 {
    color: var(--navy);
    margin-bottom: 0;
}

.integration-cta {
    text-align: center;
    background: var(--light-gray);
    padding: 40px;
    border-radius: 12px;
}

.integration-cta p {
    font-size: 1.25rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-section {
    background: var(--light-gray);
}

.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(254, 189, 1, 0.15);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
}

.contact-icon img {
    width: 40px;
}

.contact-info-item h4 {
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.contact-info-item p {
    color: var(--gray);
    margin-bottom: 0;
}

.contact-info-item a {
    color: var(--gold);
    font-weight: 500;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 200px;
    margin-bottom: 1rem;
}


.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.modal-content h3 {
    color: var(--navy);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.modal-body {
    color: var(--dark-gray);
}

.modal-body ul {
    margin-left: 20px;
    margin-bottom: 1rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: 300;
    color: var(--gray);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--navy);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, #001550 100%);
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Benefits Section */
.benefits-section {
    background: var(--light-gray);
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.benefit-card .benefit-card-heading {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.benefit-card .benefit-card-heading img {
    max-width: 40px;
    height: auto;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0;
    color: var(--navy);
}

.benefit-card p {
    color: var(--gray);
    margin-bottom: 0;
}

/* Stats Section */
.stats-section {
    background: var(--navy);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stat-card {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Step Features */
.step-features {
    list-style: none;
    margin-top: 1.5rem;
    padding: 0;
}

.step-features li {
    padding: 0.5rem 0;
    color: var(--gray);
    font-size: 1rem;
}

/* Client Logos Section */
.client-logos-section {
    background: var(--white);
    padding: 80px 0;
}

/* Case Study Section */
.case-study-section {
    background: var(--light-gray);
    padding: 80px 0;
}

.case-study {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    background: var(--white);
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.case-study h3 {
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.case-study h4 {
    color: var(--navy);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.case-study-intro {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gray);
    margin-bottom: 2rem;
}

.case-study-results {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.case-study-results li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    color: var(--dark-gray);
}

.case-study-results strong {
    color: var(--gold);
}

.case-study blockquote {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--light-gray);
    border-left: 4px solid var(--gold);
    font-style: italic;
    color: var(--dark-gray);
}

.case-study cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: var(--navy);
}

.case-study-image img {
    width: 100%;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 150px;
}

/* Integration Overview */
.integration-overview-section {
    padding: 80px 0;
    background: var(--white);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-features {
    margin: 1.5rem 0 1rem 2rem;
    padding: 0;
}

.overview-features li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    color: var(--gray);
}

.overview-image img {
    width: 100%;

}

/* Featured Integration Cards */
.integration-card.featured {
    border: 2px solid var(--gold);
    position: relative;
}

.integration-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: var(--navy);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Integration Process */
.integration-process-section {
    background: var(--light-gray);
    padding: 80px 0;
}

.process-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 3rem;
    position: relative;
}

.process-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #ffd86f, var(--gold));
    color: var(--navy);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.process-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.process-chip {
    background: rgba(0, 10, 45, 0.08);
    color: var(--navy);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
}

.process-step {
    background: var(--white);
    border: 1px solid #e6e8f0;
    border-radius: 16px;
    padding: 22px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}



.process-step::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(255, 216, 111, 0.8), rgba(0, 10, 45, 0.15)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 216, 111, 0.6);
}

.process-step:hover::after {
    opacity: 1;
}

.process-step h3 {
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
}

.process-footnote {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--gray);
    font-weight: 600;
}

/* API Section */
.api-section {
    padding: 0px 0;
    background: var(--white);
}

.api-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.api-text h2 {
    margin-bottom: 1.5rem;
}

.api-text ul {
    margin: 1.5rem 0 1rem 2rem;
}

.api-text li {
    padding: 0.5rem 0;
    color: var(--gray);
}

.api-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq-section {
    background: var(--white);
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.faq-item {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
    color: var(--navy);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--gray);
    margin-bottom: 0;
}

/* Contact Form Enhancements */
.contact-hours {
    font-size: 0.9rem;
    color: var(--gray);
    font-style: italic;
}

.contact-map {
    margin-top: 2rem;
}

/* Contact Form 7 normalization to match theme */
.wpcf7 form {
    margin: 0;
}

.wpcf7 .contact-form {
    display: flex;
    flex-direction: column;
}

.wpcf7 .form-group {
    margin-bottom: 1.2rem;
}

.wpcf7 label {
    font-weight: 600;
    color: var(--navy);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(254, 189, 1, 0.15);
}

.wpcf7 .wpcf7-submit {
    width: 100%;
    margin-top: 10px;
}

.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 4px;
}

.wpcf7-response-output {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border: 1px solid #dc3545;
    color: #dc3545;
}

.wpcf7 form.sent .wpcf7-response-output {
    border: 1px solid #28a745;
    color: #155724;
}

/* CTA Section Enhancements */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, #001550 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Legal Pages */
.legal-section {
    padding: 60px 0;
    background: var(--white);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h1 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.legal-date {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.legal-intro {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid var(--gold);
}

.legal-content h2 {
    color: var(--navy);
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--light-gray);
}

.legal-content h3 {
    color: var(--navy);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin: 1rem 0 1.5rem 2rem;
}

.legal-content li {
    margin-bottom: 0.75rem;
    color: var(--dark-gray);
}

.legal-contact {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 8px;
    margin: 2rem 0;
}

.legal-contact a {
    color: var(--gold);
    text-decoration: none;
}

.legal-contact a:hover {
    text-decoration: underline;
}

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
    color: var(--gray);
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    h1 {
        font-size: 2.5rem;
    }

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

    .hero-section .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        column-count: 2;
        column-gap: 20px;
    }

    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .step {
        grid-template-columns: 60px 1fr;
        gap: 20px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid #e0e0e0;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-cta {
        width: 100%;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-study {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .overview-content {
        grid-template-columns: 1fr;
    }

    .api-content {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    h1, .hero-title {
        font-size: 2rem;
    }

    h2, .section-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .integrations-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 30px 20px;
    }

    section {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .case-study {
        padding: 30px 20px;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        column-count: 1;
        column-gap: 16px;
    }
}

/* Form Select Styling */
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    background-color: var(--white);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.form-group select:focus {
    outline: none;
    border-color: var(--gold);
}
