/* =====================================================
   EaseMed Solutions - Main Stylesheet
   Modern Healthcare RCM Website
   ===================================================== */

/* CSS Variables - EaseMed Color Palette */

:root {
    --primary-color: #0066b3;
    --primary-dark: #004d8c;
    --primary-light: #e8f4fc;
    --secondary-color: #00a651;
    --secondary-dark: #008541;
    --accent-color: #f7941d;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6b6b6b;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-gray: #e5e5e5;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
    --shadow-dark: rgba(0, 0, 0, 0.2);
    --gradient-primary: linear-gradient(135deg, #0066b3 0%, #004d8c 100%);
    --gradient-accent: linear-gradient(135deg, #0066b3 0%, #00a651 100%);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 20px;
}

/* Reset & Base Styles */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen,
        Ubuntu,
        sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    color: var(--text-medium);
    margin-bottom: 1rem;
}

/* Container */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-lg {
    max-width: 1400px;
}

/* =====================================================
   HEADER / NAVIGATION
   ===================================================== */

.header {
    /* position: absolute;
    top: 0;
    left: 0;
    width: 100%; */
    position: relative;
    z-index: 1000;
    padding: 10px 0 20px;
    background: #ffffff61;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 100px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-text span {
    color: var(--secondary-color);
}

/* Main Navigation */

.main-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #d9d1d199;
    padding: 5px 20px 10px;
    border-radius: 50px;
}

.main-nav a {
    padding: 10px 18px;
    font-size: 17px;
    font-weight: 700;
    color: #333;
    border-radius: var(--border-radius-md);
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #005497;
    transition: var(--transition-normal);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: calc(100% - 36px);
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a.active {
    color: #005497;
}

/* Header CTA Button */

.header-cta {
    margin-left: 20px;
}

/* Mobile Menu Toggle */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition-normal);
}

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 30px 30px 30px 30px;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    text-transform: none;
    letter-spacing: 0.02em;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 102, 179, 0.3);
    border: 2px solid #005497;
    border-width: 0px 0px 3px 0px;
    border-color: #fff;
}

.hero-buttons a.slide-btn:nth-child(1) {
    margin-right: 10px;
}

.slide-btn {
    padding: 18px 30px 15px;
    font-size: 17px;
    font-weight: 600;
    background-color: #005497;
    cursor: pointer;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: all 0.3s;
    border-bottom: 6px solid;
    border-color: #fff;
    border-radius: 30px 30px 30px 30px;
}

.slide-btn:hover {
    background: #005497;
    border-color: #005497;
}

.slide-btn2 {
    padding: 18px 30px 15px;
    font-size: 17px;
    font-weight: 600;
    background-color: #fff;
    cursor: pointer;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: all 0.3s;
    border-bottom: 6px solid;
    border-color: #005497;
    border-radius: 30px 30px 30px 30px;
}

.slide-btn2:hover {
    color: #fff;
    background: #005497;
    border-color: #005497;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-accent {
    background: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(247, 148, 29, 0.3);
}

.btn-accent:hover {
    background: #e88a1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(247, 148, 29, 0.4);
}

.btn-green {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 166, 81, 0.3);
}

.btn-green:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 166, 81, 0.4);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* =====================================================
   HERO SECTION WITH SLIDER
   ===================================================== */

.hero {
    position: relative;
}

.hero-slider {
    background-image: url(../images/slide.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
    padding: 60px 0;
    /* height: 100vh; */
}

.hero-slider1 {
    background-image: url(../images/slider2.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 10px 0;
    /* height: 100vh; */
}

.slider-content {
    background: url(../images/slider-1-1.png) no-repeat;
    background-position: left;
    background-size: contain;
    padding: 70px 50px 90px;
    /* margin-top: 100px; */
}

.slider-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.slider-content h4 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 40px;
    font-weight: 500;
}

.slider-content h2 span {
    color: #fff;
}

/* =====================================================
   SECTION STYLES
   ===================================================== */

.section {
    padding: 60px 0;
}

.section-light {
    background: var(--light-gray);
}

.section-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header h2 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-transform: capitalize;
}

.section-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    margin-top: 20px;
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 35px 30px 30px;
    box-shadow: 0 5px 30px var(--shadow-light);
    transition: all 0.4s linear;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.service-card:hover::before {
    transform: translateY(-8px);
    transform: scaleX(1);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.home-services .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-medium);
    box-shadow: rgb(0 102 179) 0px 7px 29px 0px;
}

.our-core-values .service-card:hover {
    background: #004d8c;
    transition: all 0.4s linear;
}

.our-core-values .service-card:hover h3,
.our-core-values .service-card:hover p {
    color: #fff;
}

.service-icon {
    width: 100px;
    height: 100px;
    background: #d5eeffa6;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto 20px;
}

.service-icon img {
    height: 70px;
}

.service-icon svg {
    width: 35px;
    height: 35px;
    fill: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 23px;
}

.service-card p {
    font-size: 17px;
    margin-bottom: 10px;
}

.service-card .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 17px;
}

.service-card .learn-more:hover {
    gap: 12px;
}

/* =====================================================
   PROCESS SECTION
   ===================================================== */

.process-section {
    background: var(--light-gray);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-grid::before {
    content: "";
    position: absolute;
    top: 50px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--border-gray);
}

.process-step {
    text-align: center;
    position: relative;
}

.process-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 20px rgba(0, 102, 179, 0.3);
}

.process-step h4 {
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.9rem;
}

/* =====================================================
   INDUSTRIES SECTION
   ===================================================== */

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.industry-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 3px 15px var(--shadow-light);
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.industry-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.industry-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.industry-icon svg {
    width: 60px;
    height: 60px;
    fill: var(--primary-color);
}

.industry-card h4 {
    font-size: 21px;
    margin-bottom: 0;
    font-weight: 600;
}

/* =====================================================
   STATS SECTION
   ===================================================== */

.stats-section {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* =====================================================
   WHY CHOOSE US SECTION
   ===================================================== */

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-choose-content h2 {
    margin-bottom: 20px;
}

.why-choose-content p {
    margin-bottom: 30px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary-light);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-color);
}

.feature-text h4 {
    margin-bottom: 5px;
}

.feature-text p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.why-choose-image {
    position: relative;
}

.why-choose-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.why-choose-image::before {
    content: "";
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary-color);
    border-radius: var(--border-radius-lg);
    z-index: -1;
}

/* =====================================================
   TESTIMONIALS SECTION
   ===================================================== */

.testimonials-section {
    background: var(--light-gray);
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: linear-gradient(45deg, #00569a, #00569a73);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: 0 5px 30px var(--shadow-light);
}

.testimonial-content {
    font-size: 1.2rem;
    font-style: italic;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    color: #fff;
    opacity: 0.4;
    display: block;
    line-height: 0.5;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 3px;
    font-size: 1.1rem;
    color: #fff;
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #fff;
}

/* =====================================================
   CTA SECTION
   ===================================================== */

.cta-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background: #0a1628;
    color: var(--white);
    padding-top: 0;
}

/* Footer CTA Box */

.footer-cta-box {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    margin: 0 auto;
    max-width: 1100px;
    transform: translateY(-40px);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.footer-cta-content h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.footer-cta-content p {
    margin-bottom: 0;
}

.footer-cta-box .btn {
    white-space: nowrap;
}

/* Footer Main */

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary-color);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    transition: var(--transition-normal);
}

.footer-column ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-color);
    min-width: 20px;
    margin-top: 2px;
}

/* Footer Bottom */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom-inner {
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* =====================================================
   PAGE HEADERS (Inner Pages)
   ===================================================== */

.page-header {
    /* background: var(--gradient-primary); */
    padding: 90px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 9;
}

/* .page-header::before {
  content: '';
  position: absolute;
  top: 0;
  z-index: -1;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header::after {
  content: '';
  position: absolute;
  top: 0;
  z-index: -3;
  left: 0;
  width: 100%;
  opacity: 0.6;
  height: 100%;
  background: var(--gradient-primary);
} */

.page-header h1 {
    color: var(--white);
    margin-bottom: 15px;
    position: relative;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    position: relative;
}

.breadcrumb a {
    color: #fff;
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: #ffffffb8;
}

.breadcrumb-current {
    color: var(--white);
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.about-image .experience-badge {
    position: absolute;
    bottom: -20px;
    right: 50px;
    background: var(--primary-color);
    color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 166, 81, 0.3);
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.experience-badge .text {
    font-size: 0.9rem;
}

.about-content h2,
.about-content h1 {
    margin-bottom: 10px;
    font-size: 40px;
    line-height: 45px;
}

.about-content p {
    margin-bottom: 10px;
}

/* Mission & Vision */

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mv-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: 0 5px 30px var(--shadow-light);
    border-left: 4px solid var(--primary-color);
}

.mv-card h3 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.mv-card h3 svg {
    width: 30px;
    height: 30px;
    fill: var(--primary-color);
}

/* Team Section */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 30px var(--shadow-light);
    transition: var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h4 {
    margin-bottom: 5px;
}

.team-info p {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

/* =====================================================
   SERVICES PAGE
   ===================================================== */

.services-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail-item:nth-child(even) {
    direction: rtl;
}

.service-detail-item:nth-child(even)>* {
    direction: ltr;
}

.service-detail-image {
    position: relative;
}

.service-detail-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.service-detail-content h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-detail-content p {
    margin-bottom: 10px;
}

.service-detail-content ul {
    margin-bottom: 25px;
    padding: 0;
}

.service-detail-content ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-medium);
}

.service-detail-content ul li svg {
    width: 20px;
    height: 20px;
    fill: #0066b3;
    min-width: 20px;
    margin-top: 2px;
}

/* =====================================================
   SECURITY PAGE
   ===================================================== */

.security-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.security-content h2 {
    margin-bottom: 20px;
}

.security-content p {
    margin-bottom: 20px;
}

.security-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

/* Security Features */

.security-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.security-feature-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 35px;
    box-shadow: 0 5px 30px var(--shadow-light);
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.security-feature-card:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.security-feature-icon {
    width: 90px;
    height: 90px;
    background: var(--primary-light);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.security-feature-icon svg {
    width: 60px;
    height: 60px;
    fill: var(--primary-color);
}

.security-feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.security-feature-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.security-feature-card:hover p,
.security-feature-card:hover h3 {
    color: #fff;
}

/* Compliance Grid */

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.compliance-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 30px;
    text-align: center;
    box-shadow: 0 3px 15px var(--shadow-light);
    transition: var(--transition-normal);
}

.compliance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.compliance-card img {
    height: 60px;
    margin: 0 auto 15px;
}

.compliance-card h4 {
    font-size: 22px;
}

.compliance-card p {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 5px;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */

.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 15px;
}

.contact-info>p {
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary-light);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-color);
}

.contact-text h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Contact Form */

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: 0 10px 40px var(--shadow-light);
}

.contact-form-wrapper h3 {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group label span {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-gray);
    border-radius: var(--border-radius-md);
    font-size: 0.95rem;
    transition: var(--transition-normal);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 179, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px var(--shadow-medium);
        border-radius: 0;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 15px;
        border-bottom: 1px solid var(--border-gray);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid::before {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose-grid,
    .about-intro,
    .security-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-choose-image {
        order: -1;
    }

    .footer-cta-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 30px;
    }

    .service-detail-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-detail-item:nth-child(even) {
        direction: ltr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .header-top {
        display: none;
    }

    button.mobile-menu-toggle {
        display: flex;
        float: right;
        position: absolute;
        top: 40%;
        right: 10%;
    }

    .slider-content h2 {
        font-size: 30px;
        margin-bottom: 0;
    }

    .slider-content {
        padding: 30px 20px 0;
        background: unset;
    }

    .slider-content h2 br,
    .hero-buttons {
        display: none;
    }

    .slider-content h4 {
        margin-bottom: 10px;
        font-size: 17px;
        line-height: 30px;
    }

    .item.hero-slider {
        padding: 10px 0;
    }

    .about-image .experience-badge{
        right: 10px;
    }

    .section {
        padding: 70px 0;
    }

    .hero {
        min-height: 600px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .slider-arrow {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    .hero {
        min-height: 310px;
        margin-top: 0;
    }

    .header-inner {
        padding: 12px 15px;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 14px 28px;
    }

    .section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .footer-cta-box {
        transform: translateY(-40px);
        margin: 0 15px;
    }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.6s ease forwards;
}

/* Utility Classes */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.header-top svg {
    width: 20px;
    fill: #333;
}

.header-top span {
    color: #333;
}

.header-top-right {
    float: inline-end;
}

.social-links-top a {
    background: var(--gradient-primary);
    margin-right: 5px;
    font-size: 17px;
    width: 40px;
    height: 40px;
    display: inline-block;
    text-align: center;
    line-height: 37px;
    color: #fff !important;
    border-radius: 30px;
}

.social-links-top a svg {
    fill: #fff;
}

.header-top-left a {
    margin-right: 20px;
    font-size: 18px;
}

/*  */

section.industries-sec {
    padding: 60px 0;
}

.industries-box {
    display: block;
    border: 2px solid #d5d5d5;
    border-radius: 4px;
    text-align: center;
    background: #fff;
    padding: 20px 20px 10px;
    position: relative;
    margin-bottom: 30px;
}

.industries-box img {
    height: 230px;
    object-fit: cover;
}

.industries-box h3 {
    font-size: 22px;
    font-weight: 600;
    padding: 20px 0 10px;
}

.industries-box:before {
    display: block;
    content: "";
    width: 9%;
    height: 17%;
    position: absolute;
    bottom: -2px;
    right: -2px;
    border-bottom: 3px solid var(--primary-color);
    border-right: 3px solid var(--primary-color);
    transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
}

.industries-box:after {
    display: block;
    content: "";
    width: 9%;
    height: 17%;
    position: absolute;
    top: -2px;
    left: -2px;
    border-top: 3px solid var(--primary-color);
    border-left: 3px solid var(--primary-color);
    transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
}

.industries-box:hover:before,
.industries-box:hover:after {
    width: 95%;
    height: 90%;
}

.why-chose h2 {
    color: #fff;
}

.why-chose {
    position: relative;
}

.why-chose::before {
    position: absolute;
    content: "";
    top: 10%;
    left: 0;
    opacity: 0.3;
    height: 400px;
    width: 300px;
    background: url(../images/bi_white.svg) no-repeat;
    background-size: cover;
}

.footer-column ul {
    list-style: circle;
    margin: 0;
    padding-left: 20px;
}

.footer-brand .logo img.img-fluid {
    background: #fff;
    height: 130px;
    padding: 15px;
    border-radius: 10px;
}

.menu-sec {
    padding: 30px 0 40px;
}

#services {
    background: #f2f2f2d9;
}

.mv-card img.img-fluid {
    width: 70px;
}

.industry-icon img.img-fluid {
    width: 60px;
}