/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #1a1a1a;
    line-height: 1.6;
    background-color: #f4f4f9;
}

header {
    position: relative;
    background: url('../img/victory-rcm-revenue-cycle-management-and-medical-billing-2.png') no-repeat center center/cover;
    color: #fff;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

header .content {
    position: relative;
    z-index: 2;
}

header h1 {
    margin: 0;
    font-size: 3em;
    font-weight: bold;
}

header p {
    font-size: 1.5em;
    margin: 20px 0 30px;
}

header a {
    color: #fff;
    background: #007bff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
}

header a:hover {
    background: #0056b3;
}

/* Navigation */
nav {
    background: #001f3f;
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1.1em;
}

nav a:hover {
    text-decoration: underline;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    align-items: center;
}

.menu-toggle div {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: all 0.3s;
}

/* Container */
.container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    margin: 40px 0;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Services List */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
    padding: 0;
    list-style: none;
    margin-bottom: 20px;
}

.services-list li {
    padding: 10px 15px;
    text-align: left;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: transparent;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.services-list li:hover {
    transform: scale(1.02);
    border-color: #007bff;
}

.services-list li a {
    text-decoration: none;
    color: #007bff;
    font-size: 1em;
}

.services-list li a:hover {
    color: #0056b3;
}

/* Service Blocks */
.service-block {
    display: flex;
    align-items: center;
    margin: 40px 0;
    flex-wrap: nowrap;
}

.service-block .text-content,
.service-block .image-content {
    flex: 1;
    padding: 20px;
}

.service-block .text-content {
    text-align: left;
}

.service-block .image-content {
    text-align: center;
}

.service-block img {
    max-width: 100%;
    border-radius: 8px;
}

#about > div {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; /* Align items to the top */
    gap: 20px; /* Add spacing between the text and video */
}

#about .video-container video {
    border-radius: 15px; /* Rounded corners for the iframe */
    border: 1px solid grey; /* Remove default border */
}

.partner-details {
    margin-left: 20px;
}

.partner-logo{
    margin-left: 20px;
    margin-top: 20px;
}

#contact input {
    width: 300px;
}

#contact textarea {
    width: 600px;
}

.error-message {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
}

.success-message {
    color: green;
    font-size: 1em;
    font-weight: bold;
    margin-top: 15px;
}

#formSpinner {
    display: none; /* Initially hidden */
    font-size: 16px;
    color: #555;
    text-align: center;
    margin-top: 20px;
    display: flex; /* Flexbox for alignment */
    align-items: center;
    gap: 10px; /* Space between the spinner and text */
  }
  
  .spinner-icon {
    width: 20px;
    height: 20px;
    border: 3px solid #ccc; /* Light gray border */
    border-top: 3px solid #555; /* Darker top border for the animation effect */
    border-radius: 50%; /* Circular shape */
    animation: spin 1s linear infinite; /* Rotation animation */
  }
  
  /* Keyframes for spinner rotation */
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

/* Desktop Adjustments */
@media (min-width: 769px) {
    .brand-desktop {
        display: inline;
    }
    .brand-mobile {
        display: none;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    #contact textarea {
        width: 300px;
    }
    .menu-toggle {
        display: flex;
    }
    .brand-mobile {
        display: visible;
    }
    .brand-desktop {
        display: none;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background: #001f3f;
        padding: 10px;
        position: absolute;
        top: 50px;
        width: 100%;
    }

    .nav-links.active {
        display: flex;
        margin-top: -3px;
    }

    .nav-links a {
        text-align: left;
        width: 100%;
        padding: 10px 20px;
        /*border-bottom: 1px solid #fff;*/
        color: #fff;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .service-block,
    .service-block.alternate {
        flex-direction: column; /* Stack content vertically */
    }

    .service-block .text-content,
    .service-block .image-content {
        order: initial;
        text-align: center; /* Center-align on mobile */
    }

    .service-block.alternate .text-content {
        order: 1; /* Ensure alternation on mobile */
    }

    .service-block.alternate .image-content {
        order: 2; /* Ensure alternation on mobile */
    }

    .service-block img {
        margin-bottom: 20px;
    }
}

/* Footer */
footer {
    background: #001f3f;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

  .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
  }
  
  .footer-section {
    flex: 1;
    min-width: 300px;
    margin: 20px;
  }

  .footer-section.about a{
    text-decoration: none;
    color: white;
  }

  .footer-section.about h2{
    margin-top: 0;
  }

  .footer-section.about .description{
    line-height: 1.3em;
  }

  .footer-section.about span{
    font-weight: bold;
  }
  
  .footer-section h2, /* Left-align business name */
  .footer-section h3, /* Left-align quick links header */
  .footer-section p, /* Left-align summary and contact info */
  .footer-section ul {
    text-align: left;
  }
  
  .footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-section ul li {
    margin: 2px 0; /* Single-spacing between links */
  }
  
  .footer-section ul li a {
    color: #fff;
    text-decoration: none;
  }
  
  .footer-section ul li a:hover {
    text-decoration: underline;
  }
  
  .four-column {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Default: 4 columns */
    gap: 5px; /* Space between columns */
  }
  
  .footer-bottom {
    text-align: center;
    padding: 15px 0 0 0;
    border-top: 1px solid #444;
  }
  
  .footer-bottom p {
    margin: 2px 0;
  }
 
footer .social-media p {
    margin: 2px 0;
}
  
  .social-icons {
    margin-top: 8px;
  }

    
  footer .social-icons a {
    margin: 0 10px;
    display: inline-block;
    text-decoration: none;
  }

  footer .social-icons a img {
    width: 24px;
    height: 24px;
  }
    
  .social-icons a:hover img {
    filter: invert(10%);
  }
  
  /* Responsive Adjustments */
  @media screen and (max-width: 1000px) {
    .four-column {
      grid-template-columns: repeat(2, 1fr); /* Switch to 2 columns */
    }
  }
  
  @media screen and (max-width: 400px) {
    .four-column {
      grid-template-columns: 1fr; /* Switch to 1 column */
    }
  }

.cta {
    background: #e2e3e5;
    border: 1px solid #d6d8db;
    padding: 20px;
    text-align: center;
    margin: 40px 0;
    border-radius: 8px;
}

.cta a {
    color: #fff;
    background: #007bff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
}

.cta a:hover {
    background: #0056b3;
}

/* copyright bar */
.copyright-bar {
    font-size: x-small;
    background-color: #3b3c3d;
    color: #9d9d9d;
    width: 100%;
    clear: both;
    padding: 5px 20px 5px 40px;
    min-height: 22px;
}
@media(max-width: 767px) {
    .copyright-bar {
        font-size: xx-small;
    }
}

.copyright-content {
    text-align: left;
    text-indent: -10px;
}

.copyright-bar a {
    text-decoration: none;
    color: #9d9d9d;
}
.copyright-bar a:hover {
    text-decoration: none;
}

@media (max-width: 967px) {
    .footer-logo img {
        width: 230px;
    }
}

@media (max-width: 400px) {
    .copyright-bar {
        padding: 5px 5px 0px 15px;
    }
}


/* legacy bootstrap */

.container{
    padding-right:15px;
    padding-left:15px;
    margin-right:auto;
    margin-left:auto
}
@media (min-width:768px){
    .container{width:750px}
}
@media (min-width:992px){
    .container{width:970px}
}
@media (min-width:1200px){
    .container{width:1170px}
}

.container>.navbar-collapse,
.container>.navbar-header{
    margin-right:-15px;
    margin-left:-15px
}
@media (min-width:768px){
    .container>.navbar-collapse,
    .container>.navbar-header{
        margin-right:0;
        margin-left:0
    }
}
@media (min-width:768px){
    .navbar>.container 
    .navbar-brand{
        margin-left:-15px
    }
}
.container .jumbotron {
    padding-right:15px;
    padding-left:15px;
    border-radius:6px
}
.jumbotron .container{max-width:100%}
@media screen and (min-width:768px){
    .container .jumbotron{
        padding-right:60px;
        padding-left:60px
    }
}

.container:after,
.container:before{
    display:table;
    content:" "
}
.container:after {
    clear:both
}

.row{
    margin-right:-15px;
    margin-left:-15px
}
.row:after,.row:before{
    display:table;content:" "
}
.row:after{
    clear:both
}

* {
    box-sizing: border-box;
}

.col-md-3,.col-md-9,.col-sm-3,.col-sm-9 {
    position:relative;
    min-height:1px;
    padding-right:15px;
    padding-left:15px
}

@media (min-width:768px){
    .col-sm-3,.col-sm-9{
        float:left
    }
    .col-sm-9{width:75%}
    .col-sm-3{width:25%}
}

@media (min-width:992px){
    .col-md-3,.col-md-9{
        float:left
    }
    .col-md-9{width:75%}
    .col-md-3{width:25%}
}

@media (max-width:767px){
    .hidden-xs{
        display:none!important
    }
}

/* legal baa tac */
section.legal{
    margin-top:45px;
    margin-bottom:30px;
    color:#666;
    font-size:13px;
    background-color: #f4f4f9;
    box-shadow: none;
}
@media(max-width:767px){
    section.legal{
        margin-top:-5px;
        margin-left:10px;
        margin-right:10px
    }
}
section.legal h2,section.legal h3{
    color:#33383d;
    font-weight:bold
}
section.legal h2{
    font-size:24px;
    padding-bottom:20px;
    margin-bottom:30px;
    border-bottom:1px solid #ccc
}
@media(max-width:767px){
    section.legal h2{
        padding-top:20px
    }
}



.row{margin:0}
.row h3{font-size:18px}
.row h4{font-size:16px}
.main-content .row img{margin:auto;display:block;max-width:100%;border:1px solid rgba(0,0,0,.2)}
.main-content .row .panel-container{max-width:290px;margin:auto}
@media(max-width:767px){
    .features .row>div{padding-left:0;padding-right:0}
    .well.pricing .row,.well.security .row,.well.benefits .row{
        margin-left:-15px;margin-right:-15px}
}

section.legal strong{
    color:#33383d
}
section.legal ol{
    padding-left:19px
}
section.legal ol .lower-alpha{
    list-style-type:lower-alpha
}
section.legal ol .lower-roman{
    list-style-type:lower-roman
}
section.legal li{
    margin-bottom:10px
}
section.legal em{
    font-style:normal;text-decoration:underline
}
section.legal div.terms-box{
    padding:0 30px;
    padding-bottom:20px;
    background-color:#fff;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    border-radius:5px;
    -webkit-box-shadow:rgba(0,0,0,.1) 0 0 0 1px inset,rgba(0,0,0,.1) 0 0 3px 0;
    -moz-box-shadow:rgba(0,0,0,.1) 0 0 0 1px inset,rgba(0,0,0,.1) 0 0 3px 0;
    box-shadow:rgba(0,0,0,.1) 0 0 0 1px inset,rgba(0,0,0,.1) 0 0 3px 0
}
section.legal div.terms-box h3{
    font-size:18px
}
section.legal div.contact-us h3,section.legal div.contact-us address,section.legal div.contact-us p.phone{
    margin-bottom:10px;
    border-bottom:2px solid #dddddb;
    padding-bottom:7px
}
section.legal div.contact-us h3{
    margin-top:0;
    font-size:14px
}
section.legal div.contact-us address,section.legal div.contact-us p.phone{
    font-size:11px;
    color:#888
}
section.legal div.contact-us p.email-address{
    font-weight:bold
}
section.legal .faq-links{
    padding-bottom:15px;
    margin-bottom:30px;
    border-bottom:1px solid #ccc
}
section.legal .back-to-top-link{
    margin-bottom:40px
}
