/* CaraOmics.ai Color Palette */
:root {
  /* Primary Colors */
  --green-vogue: #043360; /* Primary Dark - headers, main backgrounds, primary text */
  --cerulean: #0fbbca;    /* Primary Accent - CTAs, highlights, links */
  
  /* Secondary Colors */
  --bondi-blue: #0696b7;  /* Secondary Accent - secondary buttons, hover states */
  --blue-chill: #08809d;  /* Supporting Dark - section backgrounds, graphical elements */
  --breaker-bay: #5ca49c; /* Subtle Accent - supporting graphics, soft highlights */
  
  /* Neutral Colors */
  --ebony: #04060b;       /* Dark Text/Background - primary body text */
  --fiord: #495d6a;       /* Subtle Neutral - secondary text, borders */
  --powder-blue: #c1e7ec; /* Light Background/Highlight - highlighted sections */
  --white: #FFFFFF;       /* Primary Light/Background - main content background */
  --light-grey: #F8F9FA;  /* Subtle Background - alternative light background */
}

/* Fallback colors for browsers that don't support CSS variables */
.header {
    background-color: #FFFFFF;
}

.header .nav li a {
    color: #043360;
}

.header .nav li a:hover {
    color: #0fbbca;
}

.btn {
    background-color: #0fbbca;
    color: #FFFFFF;
}

.btn:hover {
    background-color: #0696b7;
}

/* General text colors */
body {
    color: #04060b;
}

h1, h2, h3, h4, h5, h6 {
    color: #043360;
}

/* Custom text overlays for better readability */

/* Consistent image styling with subtle blue overlay */
.slider .single-slider,
.breadcrumbs.overlay,
.call-action,
.why-choose .choose-right,
.clients.overlay,
.news-head {
  position: relative;
}

.slider .single-slider::before,
.breadcrumbs.overlay::before,
.call-action::before,
.why-choose .choose-right::before,
.clients.overlay::before,
.news-head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(4, 51, 96, 0.4); /* green-vogue with opacity */
  z-index: 1;
  pointer-events: none;
}

/* Slider section styling */
.slider .single-slider {
  position: relative;
}

.slider .single-slider .container {
  position: relative;
  z-index: 2;
}

/* Text enhancements for better readability */
.slider .single-slider h1 {
  color: var(--white);
  font-weight: 800;
  background-color: rgba(4, 51, 96, 0.7);
  display: inline-block;
  padding: 10px 15px;
  margin-bottom: 15px;
  border-radius: 5px;
  max-width: 80%;
}

.slider .single-slider h1 span {
  color: var(--cerulean);
}

.slider .single-slider p {
  color: var(--white);
  font-weight: 500;
  background-color: rgba(4, 51, 96, 0.7);
  display: inline-block;
  padding: 8px 15px;
  border-radius: 5px;
  max-width: 80%;
  margin-bottom: 10px;
}

.slider .single-slider .button {
  margin-top: 0;
  margin-bottom: 50px;
}

/* Call to action styling */
.call-action {
  position: relative;
}

.call-action .container {
  position: relative;
  z-index: 2;
}

/* Text enhancements for call to action */
.call-action .content h2 {
  color: #1d1e2a;
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.4);
  display: inline-block;
  padding: 8px 15px;
  border-radius: 5px;
  margin-bottom: 15px;
}

.call-action .content p {
  color: #1d1e2a;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0.4);
  display: inline-block;
  padding: 8px 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  max-width: 80%;
}

/* Video section styling */
.why-choose .choose-right {
  position: relative;
}

.why-choose .choose-right .video {
  position: relative;
  z-index: 2;
}

/* Breadcrumbs styling */
.breadcrumbs.overlay {
  position: relative;
}

.breadcrumbs .container {
  position: relative;
  z-index: 2;
}

/* Text enhancements for breadcrumbs */
.breadcrumbs h2 {
  color: #1d1e2a;
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.4);
  display: inline-block;
  padding: 8px 15px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.breadcrumbs ul li {
  background-color: rgba(255, 255, 255, 0.4);
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
  margin: 0 2px;
}

/* Clients section styling */
.clients.overlay {
  position: relative;
}

.clients .container {
  position: relative;
  z-index: 2;
}

/* Blog images styling */
.news-head {
  overflow: hidden;
  height: 220px; /* Fixed height for consistency */
  position: relative;
}

.news-head img {
  transition: transform 0.4s ease;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images maintain aspect ratio while filling container */
  object-position: center; /* Centers the image */
}

.news-head:hover img {
  transform: scale(1.05);
}

/* Hide medical-specific sections that don't apply to a tech company */
.doctor-calendar-area,
.doctor-calendar-table,
.doctor-details-left,
.doctor-details-item,
.doctor-details-area,
.departments {
  display: none !important;
}

/* Add smooth scrolling behavior to the page */
html {
    scroll-behavior: smooth;
}

/* Add padding to account for fixed header when scrolling to anchor points */
section[id] {
    scroll-margin-top: 100px;
}

/* CSS for image overlays on the homepage */
.img-overlay {
    position: relative;
    display: inline-block;
}

.img-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.img-overlay:hover::before {
    opacity: 1;
}

/* Service title styling without hover effects */
.service-title {
    color: #1A76D1;
    cursor: default;
    display: inline-block;
    font-weight: 500;
}

/* Remove the hover styling */
.service-title:hover {
    color: #1A76D1;
    text-decoration: none;
}

/* Smaller icons in services section */
.services .single-service i {
    font-size: 2.5em;  /* Reduced from default size */
    margin-bottom: 15px;
}

/* Smaller icons in schedule section */
.schedule .single-schedule .inner .icon i {
    font-size: 2.5em;
}

/* Smaller icons in features section */
.Feautes .single-features .signle-icon i {
    font-size: 2.5em;
}

/* Smaller icons in fun-facts section */
.fun-facts .single-fun i {
    font-size: 2.5em;
}

/* Process arrows between features */
.process-arrow {
    text-align: center;
    margin: 15px 0;
}

.process-arrow i {
    font-size: 1.5em;
    color: var(--cerulean);
    opacity: 0.7;
}

/* Subtle arrow indication with minimal animation */
.process-arrow i {
    animation: subtle-arrow 3s ease-in-out infinite;
}

@keyframes subtle-arrow {
    0% {
        opacity: 0.5;
        transform: translateX(0);
    }
    50% {
        opacity: 0.8;
        transform: translateX(3px);
    }
    100% {
        opacity: 0.5;
        transform: translateX(0);
    }
}

/* Mobile responsive enhancements for the process flow */
@media only screen and (max-width: 767px) {
    .Feautes .row.align-items-center {
        flex-direction: column;
    }
    
    .Feautes .col-12 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        margin-bottom: 20px;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: 5px 0;
        height: 30px;
    }
    
    .process-arrow i {
        animation: subtle-arrow-vertical 3s ease-in-out infinite;
    }
    
    @keyframes subtle-arrow-vertical {
        0% {
            opacity: 0.5;
            transform: translateY(0);
        }
        50% {
            opacity: 0.8;
            transform: translateY(3px);
        }
        100% {
            opacity: 0.5;
            transform: translateY(0);
        }
    }
}

/* Remove step indicators - keep this to override existing styles */
.step-indicator {
    display: none;
}

/* Sleek feature boxes */
.Feautes .single-features {
    padding: 35px 25px;
    height: 100%;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--light-grey);
}

.Feautes .single-features:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--powder-blue);
}

/* Icon styling in feature boxes */
.Feautes .single-features .signle-icon {
    background: var(--powder-blue);
    height: auto;
    width: auto;
    line-height: normal;
    border-radius: 0;
    margin-bottom: 20px;
}

.Feautes .single-features .signle-icon i {
    font-size: 2.2em;
    color: var(--green-vogue);
    margin-bottom: 0;
}

/* Feature title styling */
.Feautes .single-features h3 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--green-vogue);
}

/* Feature description styling */
.Feautes .single-features p {
    color: var(--fiord);
    line-height: 1.7;
}

/* Larger arrows on desktop but more subtle */
@media only screen and (min-width: 768px) {
    .process-arrow i {
        font-size: 1.8em;
    }
}

/* Logo styling */
.header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0;
    padding: 0;
}

.header .logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.header .logo img {
    max-height: 99px; /* Increased by 10% from 90px */
    width: auto;
    display: block;
}

/* Logo on mobile devices */
@media only screen and (max-width: 767px) {
    .header .logo img {
        max-height: 77px; /* Increased by 10% from 70px */
        margin: 0 auto;
    }
}

/* Header height settings */
.header .header-inner {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Navigation alignment */
.header .main-menu {
    display: flex;
    align-items: center;
    height: 100%;
}

.header .nav {
    height: 100%;
    display: flex;
    align-items: center;
}

.header .nav li a {
    padding: 0 12px;
    line-height: 100px;
    color: var(--green-vogue);
    font-weight: 500;
}

/* Button alignment */
.header .get-quote {
    display: flex;
    align-items: center;
    height: 100%;
    margin-top: 0;
    justify-content: flex-end;
}

/* Mobile adjustments */
@media only screen and (max-width: 767px) {
    .header .header-inner {
        height: 90px;
    }
    
    .header .logo img {
        max-height: 70px;
    }
}

/* Video play button styling */
.why-choose .choose-right .video {
    color: #fff;
    height: 120px;
    width: 120px;
    line-height: 120px;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-left: 0;
    margin-top: 0;
    font-size: 36px;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.why-choose .choose-right .video i {
    padding: 0;
    color: #fff;
    padding-left: 4px; /* Slight adjustment to visually center the play icon */
}

.why-choose .choose-right .video:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

/* Header styling */
.header {
    background-color: var(--white);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.header .nav li a:hover {
    color: var(--cerulean);
}

.header .nav li.active a {
    color: var(--cerulean);
    position: relative;
}

.header .nav li.active a::before,
.header .nav li a:hover::before {
    content: "";
    position: absolute;
    bottom: 25px;
    left: 12px;
    width: calc(100% - 24px);
    height: 3px;
    background: var(--cerulean);
    border-radius: 3px;
}

/* Button styling */
.btn {
    background-color: var(--cerulean);
    color: var(--white);
    border: none;
}

.btn:hover {
    background-color: var(--bondi-blue);
    color: var(--white);
}

.btn.primary {
    background-color: var(--white);
    color: var(--green-vogue);
    border: 1px solid var(--green-vogue);
}

.btn.primary:hover {
    background-color: var(--powder-blue);
    color: var(--green-vogue);
}

/* Schedule area styling - adding background color */
.schedule .single-schedule {
    background: var(--green-vogue);
    opacity: 0.8;
}

.schedule .single-schedule.first,
.schedule .single-schedule.middle,
.schedule .single-schedule.last {
    background: var(--green-vogue);
    opacity: 0.8;
}

/* Schedule icon styling */
.schedule .single-schedule .icon {
    background: var(--cerulean);
}

.schedule .single-schedule.first .icon {
    background: var(--bondi-blue);
}

.schedule .single-schedule.middle .icon {
    background: var(--green-vogue);
}

.schedule .single-schedule.last .icon {
    background: var(--blue-chill);
}

/* Make schedule icons smaller */
.schedule .single-schedule .inner .icon i {
    font-size: 2.2em;
}

.schedule .single-schedule h4 {
    color: var(--white);
}

.schedule .single-schedule span {
    color: var(--white);
}

.schedule .single-schedule p {
    color: var(--white);
}

/* Services section styling */
.services .single-service {
    background: var(--white);
    transition: all 0.3s ease;
    border: 1px solid var(--light-grey);
}

.services .single-service:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--powder-blue);
}

.services .single-service i {
    color: var(--cerulean);
}

.services .single-service h4 {
    color: var(--green-vogue);
}

.services .single-service p {
    color: var(--fiord);
}

/* Section titles */
.section-title h2 {
    color: var(--green-vogue);
}

.section-title p {
    color: var(--fiord);
}

/* About section styling */
.why-choose {
    background: var(--white);
}

.why-choose .choose-left p {
    color: var(--fiord);
}

/* Fun Facts section */
.fun-facts {
    position: relative;
    background-attachment: fixed !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
    z-index: 1;
    visibility: visible !important;
    background-color: var(--green-vogue);
    padding: 80px 0;
}

.fun-facts::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 51, 96, 0.8);
    z-index: 0;
}

.fun-facts .container {
    position: relative;
    z-index: 2;
}

.fun-facts .single-fun {
    position: relative;
    padding-left: 80px;
    margin-bottom: 20px;
}

.fun-facts .single-fun i {
    color: var(--cerulean);
    border-color: var(--cerulean);
    z-index: 2;
    position: absolute;
    left: 0;
}

.fun-facts .single-fun:hover i {
    background: var(--cerulean);
    color: var(--white);
}

.fun-facts .single-fun .content {
    position: relative;
    z-index: 2;
}

.fun-facts .single-fun .content span {
    color: var(--white);
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

.fun-facts .single-fun .content p {
    color: var(--white);
    font-size: 16px;
}

/* Add media query for better mobile experience */
@media only screen and (max-width: 767px) {
    .fun-facts {
        background-attachment: scroll;
    }
    
    .fun-facts .single-fun {
        margin-bottom: 30px;
    }
    
    .fun-facts .single-fun .content span {
        font-size: 28px;
    }
}

/* Ensure Stellar.js works properly */
[data-stellar-background-ratio] {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Footer styling */
.footer {
    background-color: var(--green-vogue);
}

.footer h2 {
    color: var(--white);
}

.footer p, .footer ul.time-sidual li {
    color: var(--light-grey);
}

.footer .copyright {
    background: var(--ebony);
}

.footer .copyright-content p {
    color: var(--light-grey);
}

/* Video button styling update */
.why-choose .choose-right .video {
    background: var(--cerulean);
}

.why-choose .choose-right .video:hover {
    background: var(--bondi-blue);
}

/* Navigation active/hover indicator */
.header .nav li a::before {
    background: var(--cerulean);
}

/* Form elements */
input, textarea, select, .nice-select {
    border: 1px solid var(--light-grey);
    color: var(--fiord);
}

input:focus, textarea:focus, select:focus {
    border-color: var(--cerulean);
}

.form-group button, .form button, button.btn {
    background: var(--cerulean);
    color: var(--white);
}

.form-group button:hover, .form button:hover, button.btn:hover {
    background: var(--bondi-blue);
}

/* Links */
a {
    color: var(--bondi-blue);
}

a:hover {
    color: var(--cerulean);
}

/* Overlay backgrounds */
.breadcrumbs.overlay::before,
.call-action::before,
.why-choose .choose-right::before,
.clients.overlay::before,
.news-head::before {
    background-color: rgba(4, 51, 96, 0.15); /* green-vogue with opacity */
}

/* Button in header - "Discuss Your Project" */
.header .get-quote .btn {
    background-color: var(--cerulean);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(15, 187, 202, 0.2);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 1;
}

.header .get-quote .btn:hover {
    background-color: var(--bondi-blue);
    box-shadow: 0 4px 15px rgba(15, 187, 202, 0.3);
    transform: translateY(-2px);
    opacity: 1;
}

/* Slider navigation arrows */
.slider .owl-carousel .owl-nav div {
    background: var(--cerulean);
    color: var(--white);
    transition: all 0.3s ease;
    opacity: 0.5;
}

.slider .owl-carousel .owl-nav div:hover {
    background: var(--bondi-blue);
    color: var(--white);
    opacity: 0.5;
}

/* Add space between slider and schedule section */
.slider {
  margin-bottom: 30px;
}

/* Add specific styling for the slider button */
.slider .single-slider .btn {
    background-color: var(--cerulean);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(15, 187, 202, 0.2);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 1; /* Full opacity */
}

.slider .single-slider .btn:hover {
    background-color: var(--bondi-blue);
    box-shadow: 0 4px 15px rgba(15, 187, 202, 0.3);
    transform: translateY(-2px);
    opacity: 1;
}