:root {
    --primary-color: #E96E5B; /* Coral */
    --primary-rgb: 233, 110, 91; /* RGB values of the primary color */
    --secondary-color: #60A8D8; /* Blue */
    --secondary-rgb: 96, 168, 216; /* RGB values of the secondary color */
    --dark-color: #333333;
    --light-color: #FFFFFF;
    --light-bg: #F8F9FA;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: rgba(0, 0, 0, 0.1);
    --error-color: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--dark-color);
    overflow-x: hidden;
}

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

/* Header & Navigation */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Adjust navigation layout for better centering */
.logo {
    display: flex;
    align-items: center;
    width: 200px;
}

.logo a {
    display: block;
    transition: transform 0.3s ease;
    padding: 5px 0;
}

.logo img {
    max-height: 50px;
    width: auto;
    transition: transform 0.3s ease;
    display: block;
    /* Add a subtle drop shadow to logo */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo a:hover img {
    transform: scale(1.05);
    /* Increase shadow on hover */
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
}

.nav-links {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-links ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
}

.nav-links ul li {
    margin: 0 12px;
}

.nav-links ul li a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
    padding: 10px 0;
    display: inline-block;
}

.nav-links ul li a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    z-index: 1002; /* Ensure hamburger stays above the mobile menu */
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    background-image: url('img/care.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    opacity: 0.95; /* Very high opacity to make the image very subtle */
    z-index: 1;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    width: 50%;
}

.hero-text h2 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color);
    font-weight: 700;
    animation: fadeInRight 0.8s ease-out forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

.hero-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #666;
    animation: fadeInRight 0.8s ease-out forwards;
    opacity: 0;
    animation-delay: 0.4s;
}

.cta-button {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, #E96E5B 0%, #d45e4c 100%);
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(233, 110, 91, 0.3);
    position: relative;
    overflow: hidden;
    font-size: 15px;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    width: auto;
    max-width: fit-content;
    text-align: center;
}

.cta-button:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 20px rgba(233, 110, 91, 0.4);
    background: linear-gradient(135deg, #ea7a69 0%, #e96e5b 100%);
}

.cta-button:active {
    transform: scale(1.04);
    box-shadow: 0 5px 10px rgba(233, 110, 91, 0.3);
}

.btn-with-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.btn-with-icon svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.btn-with-icon:hover svg {
    transform: translateX(5px);
}

.cta-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(233, 110, 91, 0.3);
}

/* Remove conflicting animation */
.cta-button:hover {
    animation: none;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 60%,
        transparent 100%
    );
    transform: translateX(-100%);
    transition: transform 0.8s ease;
    z-index: 2;
}

.cta-button:hover::before {
    transform: translateX(100%);
}

.stats {
    display: flex;
    margin-top: 50px;
    gap: 30px;
}

.stat-item {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 10px;
    border-radius: 8px;
}

.stat-item:nth-child(1) {
    animation-delay: 0.8s;
}

.stat-item:nth-child(2) {
    animation-delay: 1s;
}

.stat-item:nth-child(3) {
    animation-delay: 1.2s;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.stat-item:hover h3 {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.stat-item h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.stat-item h3.observed {
    color: var(--primary-color);
    animation: none !important;
}

.stat-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

.hero-image {
    width: 45%;
    position: relative;
    height: 500px;
    animation: floatAnimation 6s ease-in-out infinite;
}

.hero-image[style*="transform"] {
    animation: none;
}

.glass-shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px var(--glass-shadow);
    animation: rotateIn 1s ease-out forwards;
    opacity: 0;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 0;
    right: 20px;
    z-index: 1;
    background: rgba(96, 168, 216, 0.3);
    animation-delay: 0.3s;
}

.shape-2 {
    width: 250px;
    height: 250px;
    top: 100px;
    right: 120px;
    z-index: 2;
    background: rgba(233, 110, 91, 0.2);
    animation-delay: 0.6s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    bottom: 50px;
    right: 50px;
    z-index: 3;
    background: rgba(96, 168, 216, 0.2);
    animation-delay: 0.9s;
}

.image-container {
    position: absolute;
    width: 90%;
    height: 90%;
    overflow: hidden;
    z-index: 4;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.main-image.loaded {
    opacity: 1;
    transform: scale(1);
    animation: fadeInUp 1s ease-out forwards;
}

.accent {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
}

.accent-1 {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    top: 20px;
    right: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    animation-delay: 1.2s;
}

.accent-2 {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    bottom: 80px;
    right: 30px;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    animation-delay: 1.4s;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text, .hero-image {
        width: 100%;
    }
    
    .hero-text {
        margin-bottom: 60px;
        text-align: center;
    }
    
    .stats {
        justify-content: center;
    }
    
    .hero-image {
        height: 400px;
    }
    
    /* Adjust navigation for mid-sized screens */
    .logo {
        width: 150px;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #FFFFFF;
        box-shadow: #FFFFFF;
        padding: 80px 0 40px;
        z-index: 1001;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        padding: 20px 0;
    }
    
    .nav-links ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
        transition-delay: 0.05s;
    }
    
    .nav-links.active ul li {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Staggered animation delay for menu items */
    .nav-links ul li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links ul li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links ul li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links ul li:nth-child(4) { transition-delay: 0.25s; }
    .nav-links ul li:nth-child(5) { transition-delay: 0.3s; }
    .nav-links ul li:nth-child(6) { transition-delay: 0.35s; }
    .nav-links ul li:nth-child(7) { transition-delay: 0.4s; }
    
    .nav-links ul li a {
        padding: 12px 20px;
        font-size: 16px;
        font-weight: 600;
        display: block;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .nav-links ul li a:hover {
        background-color: rgba(233, 110, 91, 0.1);
        transform: translateX(5px);
    }
    
    .nav-links ul li a::after {
        content: '';
        position: absolute;
        bottom: 8px;
        left: 20px;
        width: 0;
        height: 2px;
        background-color: var(--primary-color);
        transition: width 0.3s ease;
    }
    
    .nav-links ul li a:hover::after {
        width: 30px;
    }

    .hamburger {
        display: flex;
        z-index: 1002;
        margin-left: auto;
    }
    
    .hero-text h2 {
        font-size: 36px;
    }
    
    .stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-top: 40px;
        width: 100%;
    }

    .stat-item {
        flex: 0 0 calc(50% - 20px);
        text-align: center;
    }

    .image-container {
        width: 100%;
    }
    
    /* Enhance glassmorphism on mobile */
    .glass-shape {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    
    .shape-1 {
        width: 250px;
        height: 250px;
    }
    
    .shape-2 {
        width: 200px;
        height: 200px;
    }
    
    .shape-3 {
        width: 150px;
        height: 150px;
    }

    .logo img {
        max-height: 40px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
        max-width: 100%;
        width: auto;
    }
    
    /* Reset logo widths on mobile */
    .logo {
        width: auto;
    }

    .floating-icon {
        transform: scale(0.8);
    }
    
    /* Adjust healthcare icons background */
    .healthcare-icons-bg {
        opacity: 0.4;
    }

    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content {
        align-items: center;
        text-align: center;
    }
    
    .hero-text {
        margin-bottom: 50px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 576px) {
    .hero {
        padding: 130px 0 60px;
        overflow: hidden;
    }
    
    .hero-text {
        padding: 0 15px;
        margin-top: 20px;
    }
    
    .hero-text h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .hero-image {
        height: 280px;
        margin: 20px auto 0;
        width: 90%;
    }
    
    .glass-shape {
        transform: scale(0.8);
        opacity: 0.8;
    }
    
    .shape-1 {
        right: 10px;
        top: 10px;
        width: 220px;
        height: 220px;
    }
    
    .shape-2 {
        right: 60px;
        top: 80px;
        width: 180px;
        height: 180px;
    }
    
    .shape-3 {
        width: 150px;
        height: 150px;
        bottom: 30px;
        right: 30px;
    }
    
    .accent-1 {
        width: 50px;
        height: 50px;
    }
    
    .accent-2 {
        width: 30px;
        height: 30px;
    }

    .logo img {
        max-height: 35px;
    }

    .cta-button {
        padding: 12px 18px;
        font-size: 13px;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        width: auto;
        min-width: 180px;
        margin: 0 auto;
    }
    
    .stats {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 5px;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.8);
        padding: 15px 5px;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        margin: 30px auto 0;
        justify-content: space-between;
    }
    
    .stat-item {
        width: 32%;
        flex: 0 0 32%;
        padding: 5px;
        margin: 0;
        text-align: center;
    }
    
    .stat-item h3 {
        font-size: 24px;
        margin-bottom: 5px;
        color: var(--primary-color);
    }
    
    .stat-item p {
        font-size: 12px;
        line-height: 1.2;
        margin-bottom: 0;
        font-weight: 500;
    }
    
    .healthcare-icons-bg {
        opacity: 0.2;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 120px 0 40px;
    }
    
    .hero-text {
        margin-top: 25px;
    }
    
    .hero-text h2 {
        font-size: 24px;
    }
    
    .hero-text p {
        font-size: 14px;
        margin-bottom: 20px;
        padding: 0 5px;
    }
    
    .cta-button {
        padding: 10px 15px;
        font-size: 13px;
        width: auto;
        max-width: 100%;
        min-width: 160px;
    }
    
    .stat-item h3 {
        font-size: 22px;
        margin-bottom: 3px;
    }
    
    .stat-item p {
        font-size: 11px;
        line-height: 1.2;
        font-weight: 500;
    }
    
    .hero-image {
        height: 220px;
        margin: 30px auto 0;
    }

    .logo img {
        max-height: 32px;
    }

    .floating-icon {
        transform: scale(0.6);
    }
    
    .healthcare-icons-bg {
        opacity: 0.15;
    }
    
    /* Fix overflowing elements */
    .hero-content {
        overflow: visible;
    }
    
    /* Stats are already horizontal from the 576px query */
}

/* Hamburger menu animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--primary-color);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--primary-color);
}

/* Add a subtle overlay when mobile menu is active */
.nav-links::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-links.active::before {
    opacity: 1;
    visibility: visible;
}

/* SEO focused CSS optimization */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-text h2,
    .hero-text p,
    .cta-button,
    .stat-item,
    .hero-image,
    .glass-shape,
    .accent-1,
    .accent-2,
    .main-image.loaded,
    .chevron,
    .scroll-text,
    .scroll-down,
    .floating-icon {
        animation: none !important;
        opacity: 0.1 !important;
        transform: none !important;
    }
}

/* Additional responsive adjustments */
@media screen and (max-width: 1200px) {
    .hero-text h2 {
        font-size: 42px;
    }
    
    .hero {
        padding: 140px 0 70px;
    }
    
    .nav-links ul li {
        margin: 0 8px;
    }
    
    .nav-links ul li a {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 120px 0 50px;
    }
    
    .hero-text h2 {
        font-size: 24px;
    }
    
    .hero-text p {
        font-size: 14px;
    }
    
    .cta-button {
        padding: 10px 18px;
        font-size: 13px;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
        width: 100%;
        max-width: 280px;
    }
    
    .stat-item h3 {
        font-size: 28px;
    }
    
    .stat-item p {
        font-size: 12px;
    }
    
    .hero-image {
        height: 250px;
        margin-top: -20px;
    }

    .logo img {
        max-height: 35px;
    }

    .floating-icon {
        transform: scale(0.7);
    }
    
    .healthcare-icons-bg {
        opacity: 0.2;
    }
    
    /* Fix overflowing elements */
    .hero-content {
        overflow: hidden;
    }
    
    /* Improve stats legibility */
    .stats {
        background-color: rgba(255, 255, 255, 0.7);
        padding: 10px;
        border-radius: 10px;
        margin-top: 30px;
    }
}

/* Print styles for accessibility */
@media print {
    .hero {
        padding: 20px 0;
    }
    
    .hero-content {
        display: block;
    }
    
    .hero-text, .hero-image {
        width: 100%;
    }
    
    .glass-shape, .accent {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: more) {
    :root {
        --primary-color: #D45A48;
        --secondary-color: #4A93C3;
        --glass-bg: rgba(255, 255, 255, 0.9);
        --glass-border: rgba(0, 0, 0, 0.3);
    }
}

/* Hero Section Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes rotateIn {
    from {
        transform: rotate(-10deg) scale(0.9);
        opacity: 0;
    }
    to {
        transform: rotate(0) scale(1);
        opacity: 1;
    }
}

/* Animation for active menu items */
.nav-links ul li a.active {
    color: var(--primary-color);
    position: relative;
}

.nav-links ul li a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    animation: fadeInWidth 0.3s ease forwards;
}

@keyframes fadeInWidth {
    from { width: 0; }
    to { width: 100%; }
}

/* Interactive hover states */
.stat-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 10px;
    border-radius: 8px;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.stat-item:hover h3 {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Enhanced CTA animation */
@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(233, 110, 91, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(233, 110, 91, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(233, 110, 91, 0.5);
    }
}

.cta-button:hover {
    animation: none;
}

/* Interactive logo */
.logo a {
    transition: transform 0.3s ease;
}

.logo a:hover img {
    transform: scale(1.05);
}

/* Floating Contact Icon */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 84, 58, 0.4);
    position: relative;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.contact-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(233, 110, 91, 0.5);
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.icon-dot {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 12px;
    height: 12px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    border: 2px solid white;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.contact-popup {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.contact-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.popup-header {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.close-popup {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.popup-body {
    padding: 20px;
}

.popup-body p {
    margin-top: 0;
    margin-bottom: 15px;
    color: #666;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #E96E5B;
    outline: none;
    box-shadow: 0 0 0 3px rgba(233, 110, 91, 0.15);
}

.contact-form textarea {
    height: 100px;
    resize: none;
}

.contact-form input[type="file"] {
    padding: 12px;
    background-color: #f9f9f9;
    font-size: 14px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #E96E5B 0%, #d45e4c 100%);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(233, 110, 91, 0.3);
    width: auto;
    max-width: fit-content;
}

.submit-btn svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.submit-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 20px rgba(233, 110, 91, 0.4);
    background: linear-gradient(135deg, #ea7a69 0%, #e96e5b 100%);
}

.submit-btn:active {
    transform: scale(1.04);
    box-shadow: 0 5px 10px rgba(233, 110, 91, 0.3);
}

.submit-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(233, 110, 91, 0.3);
}

@media screen and (max-width: 576px) {
    .submit-btn {
        padding: 12px 18px;
        font-size: 13px;
        width: 100%;
    }
    
    .submit-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media screen and (max-width: 480px) {
    .submit-btn {
        padding: 10px 15px;
    }
}

.btn-with-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.btn-with-icon svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.btn-with-icon:hover svg {
    transform: translateX(5px);
}

.cta-button:focus, .submit-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.3), 0 4px 15px rgba(var(--primary-rgb), 0.25);
}

/* Add button pulse animation */
@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(233, 110, 91, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(233, 110, 91, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(233, 110, 91, 0);
    }
}

.pulse-animation {
    animation: buttonPulse 2s infinite;
}

/* New keyframe animation for ripple effect */
@keyframes rippleEffect {
    0% {
        transform: scale(0);
        opacity: 0.5;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Button Ripple Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple .ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 70%);
    transform: scale(0);
    animation: rippleAnimation 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleAnimation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Mobile styles for floating contact */
@media screen and (max-width: 576px) {
    .floating-contact {
        bottom: 20px;
        right: 20px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .contact-popup {
        width: 280px;
        right: 0;
    }
}

/* Animation for floating contact entrance */
@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-contact {
    animation: floatIn 0.5s ease-out 1s forwards;
    opacity: 0;
}

/* Enhanced animations for contact icon */
@keyframes wiggle {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.floating-contact:hover .contact-icon {
    animation: wiggle 0.5s ease;
}

/* Ripple effect for the contact icon */
.contact-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--primary-color);
    z-index: -1;
    animation: ripple 2s infinite ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Message notification animation */
.new-message-dot {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 15px;
    height: 15px;
    background-color: #28a745;
    border-radius: 50%;
    border: 2px solid white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.new-message-dot.show {
    opacity: 1;
    transform: scale(1);
    animation: jump 1s infinite;
}

@keyframes jump {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.1); }
}

/* Form submission animation */
@keyframes formSuccess {
    0% { transform: translateY(0); }
    25% { transform: translateY(-10px); }
    50% { transform: translateY(5px); }
    100% { transform: translateY(0); }
}

.form-success {
    animation: formSuccess 0.5s ease-out;
}

/* Welcome message and chat styles */
.welcome-message {
    margin-bottom: 15px;
}

.bot-message {
    background-color: #f1f1f1;
    padding: 10px 15px;
    border-radius: 18px;
    margin-bottom: 15px;
    display: inline-block;
    max-width: 80%;
    position: relative;
    animation: fadeInUp 0.3s ease-out;
}

.typing-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    width: 45px;
}

.typing-indicator .dot {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background-color: #aaa;
    margin: 0 2px;
    animation: typingBounce 1.3s infinite;
    display: inline-block;
}

.typing-indicator .dot:nth-child(2) {
    animation-delay: 0.15s;
}

.typing-indicator .dot:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-5px);
    }
}

/* Custom scrollbar for the popup */
.popup-body {
    max-height: 350px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}

.popup-body::-webkit-scrollbar {
    width: 6px;
}

.popup-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.popup-body::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

/* Make sure the contact icon is always on top */
.floating-contact {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Scroll Down Animation */
.scroll-down-container {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    z-index: 5;
    cursor: pointer;
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 1.5s ease-out 2s forwards;
    opacity: 0;
    padding: 10px 20px;
    border-radius: 30px;
    transition: transform 0.3s ease;
    background-color: transparent;
}

.scroll-down:hover {
    transform: translateY(-3px);
}

.chevron {
    width: 28px;
    height: 8px;
    opacity: 0;
    transform: scale(0.3);
    animation: move-chevron 3s ease-out infinite;
}

.chevron:first-child {
    animation-delay: 0s;
}

.chevron:nth-child(2) {
    animation-delay: 0.3s;
}

.chevron:nth-child(3) {
    animation-delay: 0.6s;
}

.chevron:before,
.chevron:after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    background: var(--primary-color);
}

.chevron:before {
    left: 0;
    transform: skewY(30deg);
}

.chevron:after {
    right: 0;
    width: 50%;
    transform: skewY(-30deg);
}

.scroll-text {
    font-size: 12px;
    color: var(--dark-color);
    margin-top: 8px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fade-text 3s ease-out infinite;
}

@keyframes move-chevron {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.3);
    }
    40%, 50% {
        opacity: 1;
        transform: translateY(10px) scale(0.5);
    }
    90%, 100% {
        opacity: 0;
        transform: translateY(20px) scale(0.3);
    }
}

@keyframes fade-text {
    0%, 40% {
        opacity: 1;
    }
    50%, 90% {
        opacity: 0.3;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Make scroll down responsive */
@media screen and (max-width: 768px) {
    .scroll-down-container {
        bottom: 10px;
    }
    
    .chevron {
        width: 24px;
        height: 6px;
    }
    
    .scroll-text {
        font-size: 10px;
    }
}

@media screen and (max-width: 480px) {
    .scroll-down-container {
        bottom: 5px;
    }
}

/* Hide scroll indicator after user has scrolled */
.scroll-hidden {
    opacity: 0 !important;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* Healthcare Icons Background */
.healthcare-icons-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    .healthcare-icons-bg {
        opacity: 0.4;
    }
    
    .floating-icon {
        transform: scale(0.75);
    }
}

.floating-icon {
    position: absolute;
    opacity: 0.3;
    animation: float-icon 15s linear infinite;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-icon svg {
    width: 100%;
    height: 100%;
}

.icon-stethoscope {
    width: 60px;
    height: 60px;
    top: 15%;
    left: 10%;
    color: var(--primary-color);
    animation-duration: 20s;
}

.icon-firstaid {
    width: 45px;
    height: 45px;
    top: 35%;
    left: 15%;
    color: var(--secondary-color);
    animation-duration: 18s;
    animation-delay: 2s;
}

.icon-syringe {
    width: 40px;
    height: 40px;
    top: 20%;
    right: 15%;
    color: var(--primary-color);
    animation-duration: 22s;
    animation-delay: 1s;
}

.icon-heart {
    width: 50px;
    height: 50px;
    bottom: 25%;
    left: 8%;
    color: var(--primary-color);
    animation-duration: 19s;
    animation-delay: 3s;
}

.icon-pills {
    width: 40px;
    height: 40px;
    bottom: 30%;
    right: 10%;
    color: var(--secondary-color);
    animation-duration: 21s;
    animation-delay: 4s;
}

.icon-droplet {
    width: 35px;
    height: 35px;
    top: 60%;
    right: 20%;
    color: var(--secondary-color);
    animation-duration: 17s;
    animation-delay: 2.5s;
}

.icon-pulse {
    width: 55px;
    height: 55px;
    top: 70%;
    left: 25%;
    color: var(--primary-color);
    animation-duration: 23s;
    animation-delay: 1.5s;
}

/* New healthcare icons */
.icon-microscope {
    width: 48px;
    height: 48px;
    top: 45%;
    left: 5%;
    color: var(--secondary-color);
    animation-duration: 19.5s;
    animation-delay: 3.2s;
}

.icon-bandage {
    width: 42px;
    height: 42px;
    top: 30%;
    right: 5%;
    color: var(--primary-color);
    animation-duration: 17.8s;
    animation-delay: 0.5s;
}

.icon-hospital {
    width: 58px;
    height: 58px;
    bottom: 15%;
    right: 25%;
    color: var(--secondary-color);
    animation-duration: 24s;
    animation-delay: 2.8s;
}

.icon-wheelchair {
    width: 44px;
    height: 44px;
    bottom: 40%;
    left: 18%;
    color: var(--primary-color);
    animation-duration: 22.5s;
    animation-delay: 1.7s;
}

.icon-dna {
    width: 52px;
    height: 52px;
    top: 12%;
    right: 30%;
    color: var(--secondary-color);
    animation-duration: 23.2s;
    animation-delay: 4.1s;
}

.icon-lungs {
    width: 56px;
    height: 56px;
    bottom: 18%;
    left: 30%;
    color: var(--primary-color);
    animation-duration: 21.7s;
    animation-delay: 3.6s;
}

.icon-brain {
    width: 50px;
    height: 50px;
    top: 50%;
    right: 38%;
    color: var(--secondary-color);
    animation-duration: 25s;
    animation-delay: 1.3s;
}

@keyframes float-icon {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, 15px) rotate(5deg);
    }
    50% {
        transform: translate(5px, 30px) rotate(-5deg);
    }
    75% {
        transform: translate(-15px, 10px) rotate(8deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* About Us Section */
.about-section {
    padding: 100px 0;
    position: relative;
    background-color: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.section-header h2 span {
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.about-image {
    flex: 1;
    position: relative;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.image-accent {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0.2;
    border-radius: 10px;
    top: 15px;
    left: 15px;
    z-index: 1;
}

.about-text {
    flex: 1.2;
    min-width: 300px;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-text p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 25px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-text h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 0;
}

.about-cta {
    background-color: var(--light-accent);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    margin-top: 40px;
}

.about-cta p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.value-item {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon svg {
    width: 35px;
    height: 35px;
}

.value-item h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.value-item p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* Override styles for About Us section button */
.about-cta .cta-button {
    display: inline-flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: linear-gradient(135deg, #E96E5B 0%, #d45e4c 100%) !important;
    color: white !important;
    border-radius: 12px !important;
    padding: 12px 28px !important;
    box-shadow: 0 8px 15px rgba(233, 110, 91, 0.3) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.about-cta .cta-button:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 12px 20px rgba(233, 110, 91, 0.4) !important;
    background: linear-gradient(135deg, #ea7a69 0%, #e96e5b 100%) !important;
}

.about-cta .cta-button:active {
    transform: scale(1.04) !important;
    box-shadow: 0 5px 10px rgba(233, 110, 91, 0.3) !important;
}

.about-cta .cta-button svg {
    width: 18px !important;
    height: 18px !important;
    transition: transform 0.3s ease !important;
}

.about-cta .cta-button:hover svg {
    transform: translateX(3px) !important;
}

/* Responsive styles for About Us section */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .about-values {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 70px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
}

/* Clients Section */
.clients-section {
    padding: 80px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 40px;
    margin: 60px 0;
    justify-items: center;
    align-items: center;
}

.client-logo {
    width: 160px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: grayscale(100%) opacity(0.7);
    cursor: pointer;
}

.client-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.client-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

.testimonial-slider {
    margin: 60px auto;
    max-width: 900px;
    position: relative;
}

.testimonial {
    padding: 20px;
    border-radius: 15px;
    background-color: var(--light-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    position: relative;
    padding: 30px;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    opacity: 0.2;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--dark-color);
    opacity: 0.7;
    margin: 0;
    font-style: normal;
}

.client-cta {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background: linear-gradient(to right, rgba(233, 110, 91, 0.05), rgba(96, 168, 216, 0.05));
    border-radius: 15px;
}

.client-cta p {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

/* Override styles for client-cta section button */
.client-cta .cta-button {
    display: inline-flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: linear-gradient(135deg, #E96E5B 0%, #d45e4c 100%) !important;
    color: white !important;
    border-radius: 12px !important;
    padding: 12px 28px !important;
    box-shadow: 0 8px 15px rgba(233, 110, 91, 0.3) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.client-cta .cta-button:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 12px 20px rgba(233, 110, 91, 0.4) !important;
    background: linear-gradient(135deg, #ea7a69 0%, #e96e5b 100%) !important;
}

.client-cta .cta-button:active {
    transform: scale(1.04) !important;
    box-shadow: 0 5px 10px rgba(233, 110, 91, 0.3) !important;
}

.client-cta .cta-button svg {
    width: 18px !important;
    height: 18px !important;
    transition: transform 0.3s ease !important;
}

.client-cta .cta-button:hover svg {
    transform: translateX(3px) !important;
}

/* Responsive Styles for Clients Section */
@media (max-width: 992px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .clients-section {
        padding: 60px 0;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin: 40px 0;
    }
    
    .client-logo {
        width: 120px;
        height: 80px;
    }
    
    .client-logo img {
        max-height: 60px;
    }
    
    .testimonial-content {
        padding: 20px;
    }
    
    .quote-icon {
        width: 36px;
        height: 36px;
    }
}

/* Base Button Styles */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(to right, var(--primary-color), rgba(var(--primary-rgb), 0.85));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.25);
    cursor: pointer;
    width: auto;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.35);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.2);
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.3), 0 4px 15px rgba(var(--primary-rgb), 0.25);
}

/* Pulse animation for buttons */
.pulse-animation {
    animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(233, 110, 91, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(233, 110, 91, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(233, 110, 91, 0);
    }
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #fff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.service-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.service-icon {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-icon svg {
    width: 35px;
    height: 35px;
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.service-features li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #555;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    background-color: #f8f9fa;
    color: var(--primary-color);
    border: 1px solid #e5e8eb;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 15px;
    white-space: nowrap;
    width: auto;
    max-width: fit-content;
}

.service-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.service-btn:hover {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-btn:hover svg {
    transform: translateX(4px);
}

@media screen and (max-width: 576px) {
    .service-btn {
        padding: 9px 16px;
        font-size: 13px;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
        width: 100%;
        margin: 15px auto 0;
    }
}

.services-cta {
    background: linear-gradient(135deg, rgba(233, 110, 91, 0.1) 0%, rgba(96, 168, 216, 0.1) 100%);
    border-radius: 15px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 60px;
}

.services-cta .cta-content {
    flex: 1;
    min-width: 300px;
}

.services-cta h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.services-cta p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

.services-cta .cta-button {
    width: auto;
    min-width: 200px;
}

.services-cta .cta-button svg {
    transition: transform 0.3s ease;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-cta {
        flex-direction: column;
        text-align: center;
    }
    
    .services-cta .cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 70px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .services-section {
        padding: 60px 0;
    }
    
    .services-cta {
        padding: 30px 20px;
    }
    
    .services-cta h3 {
        font-size: 1.4rem;
    }
}

html {
    scroll-behavior: smooth;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

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

.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover .benefit-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.benefit-icon svg {
    width: 35px;
    height: 35px;
}

.benefit-card h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.metrics-container {
    display: flex;
    justify-content: space-between;
    margin: 80px 0 60px;
    flex-wrap: wrap;
    gap: 20px;
}

.metric-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.metric-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.metric-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.2;
}

.metric-item p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.cta-container {
    text-align: center;
    margin-top: 60px;
    padding: 60px;
    background: linear-gradient(135deg, rgba(233, 110, 91, 0.1) 0%, rgba(96, 168, 216, 0.1) 100%);
    border-radius: 15px;
}

.cta-container h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 30px;
    font-weight: 600;
}

@media (max-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-choose-section {
        padding: 70px 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .metric-item {
        width: 100%;
    }
    
    .cta-container {
        padding: 40px 20px;
    }
    
    .cta-container h3 {
        font-size: 1.5rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #fff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    max-width: 1000px;
    margin: 60px auto;
    overflow: hidden;
}

.testimonials-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 10px;
    display: flex;
    flex-direction: column;
    min-width: 100%;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.testimonial-card.active {
    transform: scale(1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    position: relative;
    padding: 30px;
    padding-top: 60px;
    margin-bottom: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 30px;
    color: rgba(var(--primary-rgb), 0.15);
    width: 50px;
    height: 50px;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding: 0 30px;
}

.author-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    border: 3px solid rgba(var(--primary-rgb), 0.1);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-info h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
}

.author-info p {
    margin: 5px 0 10px;
    font-size: 0.9rem;
    color: #666;
}

.rating {
    display: flex;
    gap: 5px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.testimonial-control {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--dark-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-control:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(var(--primary-rgb), 0.2);
}

.testimonial-control svg {
    width: 20px;
    height: 20px;
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.testimonial-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(233, 110, 91, 0.1) 0%, rgba(96, 168, 216, 0.1) 100%);
    border-radius: 15px;
}

.testimonial-cta p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 70px 0;
    }
    
    .testimonial-card {
        padding: 20px 15px;
    }
    
    .testimonial-content {
        padding: 20px;
        padding-top: 50px;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .author-image {
        width: 60px;
        height: 60px;
    }
    
    .testimonial-cta {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-image {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .rating {
        justify-content: center;
    }
}

/* How It Works Section */
.how-it-works-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto;
    padding: 20px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, rgba(var(--primary-rgb), 0.2) 0%, rgba(var(--primary-rgb), 0.5) 100%);
    border-radius: 4px;
}

.process-step {
    display: flex;
    margin-bottom: 60px;
    position: relative;
}

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

.step-number {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 20px 0 10px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
    z-index: 2;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3);
}

.step-content {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.process-step:hover .step-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.step-icon svg {
    width: 30px;
    height: 30px;
}

.step-content h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.step-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.process-cta {
    text-align: center;
    margin-top: 60px;
    padding: 50px;
    background: linear-gradient(135deg, rgba(233, 110, 91, 0.1) 0%, rgba(96, 168, 216, 0.1) 100%);
    border-radius: 15px;
}

.process-cta h3 {
    font-size: 1.6rem;
    color: var(--dark-color);
    margin-bottom: 25px;
    font-weight: 600;
}

@media (max-width: 992px) {
    .process-timeline::before {
        left: 40px;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
    }
    
    .step-icon svg {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 768px) {
    .how-it-works-section {
        padding: 70px 0;
    }
    
    .process-timeline {
        margin: 40px auto;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .process-step {
        flex-direction: column;
        margin-bottom: 40px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 0 -30px 0;
        align-self: flex-start;
    }
    
    .step-content {
        padding: 50px 20px 25px;
        margin-left: 0;
        width: 100%;
    }
    
    .process-cta {
        padding: 30px 20px;
    }
    
    .process-cta h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: -25px;
    }
    
    .step-content h3 {
        font-size: 1.2rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #fff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.faq-container {
    max-width: 900px;
    margin: 60px auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

.toggle-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.toggle-icon svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon svg {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 300px;
}

.faq-answer p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.faq-cta {
    text-align: center;
    margin-top: 60px;
}

.faq-cta p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 70px 0;
    }
    
    .faq-container {
        margin: 40px auto;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
}

@media (max-width: 576px) {
    .faq-question h3 {
        font-size: 1rem;
        width: 85%;
    }
    
    .toggle-icon {
        width: 24px;
        height: 24px;
    }
    
    .toggle-icon svg {
        width: 16px;
        height: 16px;
    }
}

/* Contact Section Styles */
.contact-section {
  padding: 100px 0;
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: rgba(var(--primary-rgb), 0.05);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  z-index: 0;
}

.contact-section::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: rgba(var(--secondary-rgb), 0.05);
  border-radius: 50%;
  bottom: -80px;
  left: -80px;
  z-index: 0;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.contact-info > p {
  margin-bottom: 30px;
  color: var(--text-color);
  line-height: 1.6;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

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

.contact-icon {
  color: var(--primary-color);
  background-color: rgba(var(--primary-rgb), 0.1);
  padding: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--heading-color);
}

.contact-text p {
  color: var(--text-color);
  line-height: 1.5;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  color: var(--primary-color);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
}

.contact-form-container {
  flex: 1;
  min-width: 300px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-group {
  flex: 1 0 calc(50% - 10px);
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  flex: 1 0 100%;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--heading-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #E96E5B;
  outline: none;
  box-shadow: 0 0 0 3px rgba(233, 110, 91, 0.15);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-group input[type="file"] {
  padding: 12px;
  background-color: #f9f9f9;
  font-size: 14px;
}

.submit-btn {
  margin-top: 15px;
  width: 100%;
  padding: 14px 20px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn svg {
  transition: transform 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.submit-btn:hover svg {
  transform: translateX(5px);
}

.submit-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.3);
}

@media (max-width: 992px) {
  .contact-content {
    flex-direction: column;
  }
  
  .contact-info,
  .contact-form-container {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .form-group {
    flex: 1 0 100%;
  }
  
  .contact-section {
    padding: 70px 0;
  }
}

/* Form validation styles */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: var(--error-color);
    box-shadow: 0 0 0 1px var(--error-color);
}

.form-group input.error:focus,
.form-group textarea.error:focus,
.form-group select.error:focus {
    border-color: var(--error-color);
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
}

.form-group.focused label {
    transform: translateY(-20px);
    font-size: 12px;
    color: var(--primary-color);
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    position: relative;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #28a745;
}

/* Loading animation */
.loading-icon {
    animation: spin 1.5s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#submitBtn:disabled {
    background-color: var(--secondary-color);
    opacity: 0.7;
    cursor: not-allowed;
}

/* Final CTA / Conversion Push Section */
.conversion-section {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.conversion-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0) 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    z-index: 0;
}

.conversion-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0) 70%);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    z-index: 0;
}

.conversion-content {
    display: flex;
    gap: 50px;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.conversion-text {
    flex: 1;
    max-width: 600px;
}

.conversion-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--heading-color);
    line-height: 1.2;
}

.conversion-text p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

.conversion-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.conversion-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.conversion-benefits svg {
    color: var(--primary-color);
    margin-right: 15px;
    flex-shrink: 0;
}

.conversion-benefits span {
    font-size: 1.05rem;
    color: var(--dark-color);
}

.conversion-form {
    flex: 1;
    max-width: 500px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.conversion-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 6px;
    width: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.conversion-form h3 {
    font-size: 1.5rem;
    color: var(--heading-color);
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.cta-form .form-group {
    margin-bottom: 15px;
}

.cta-form input,
.cta-form select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-form input:focus,
.cta-form select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
    outline: none;
}

.cta-form .submit-btn {
    margin-top: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    font-size: 1.1rem;
    padding: 16px 24px;
}

.conversion-trust {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.conversion-trust p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-logos img {
    height: 40px;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.trust-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Media Queries for Conversion Section */
@media (max-width: 992px) {
    .conversion-content {
        flex-direction: column;
    }
    
    .conversion-text,
    .conversion-form {
        max-width: 100%;
    }
    
    .conversion-section {
        padding: 80px 0;
    }
    
    .conversion-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .conversion-section {
        padding: 60px 0;
    }
    
    .conversion-form {
        padding: 30px 20px;
    }
    
    .conversion-text h2 {
        font-size: 1.75rem;
    }
    
    .trust-logos {
        gap: 20px;
    }
    
    .trust-logos img {
        height: 30px;
    }
}

.form-success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #28a745;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 20px 0;
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Error state for form inputs */
.cta-form input.error,
.cta-form select.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
}

/* Loading icon animation */
.loading-icon {
    animation: spin 1.5s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer Styles */
.footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 180px;
}

.footer-column h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

.footer-column address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-column address p {
    margin-bottom: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

.footer-nav {
    display: flex;
    gap: 20px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.footer-healthcare-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.05;
    pointer-events: none;
    overflow: hidden;
}

.footer-healthcare-icons .floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    color: var(--primary-color);
    opacity: 0.5;
}

.footer-healthcare-icons .icon-stethoscope {
    top: 20%;
    left: 10%;
}

.footer-healthcare-icons .icon-heart {
    bottom: 30%;
    right: 15%;
}

.footer-healthcare-icons .icon-pulse {
    top: 60%;
    right: 30%;
}

@media (max-width: 768px) {
    .footer-healthcare-icons .floating-icon {
        transform: scale(0.8);
    }
}

@media (max-width: 576px) {
    .footer-healthcare-icons .floating-icon {
        transform: scale(0.6);
    }
}

/* Media queries for footer responsiveness */
@media (max-width: 992px) {
    .footer-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-logo {
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .copyright {
        order: 2;
    }
    
    .footer-nav {
        order: 1;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-column h4 {
        font-size: 1.1rem;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Form Highlight Effect */
.highlight-form {
    animation: form-highlight 1.5s ease;
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.6);
}

@keyframes form-highlight {
    0% {
        box-shadow: 0 0 5px rgba(var(--primary-rgb), 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(var(--primary-rgb), 0.3);
    }
}

.conversion-form.highlight-form {
    transform: scale(1.02);
    z-index: 100;
    position: relative;
}

/* Mobile styles for btn-with-icon */
@media screen and (max-width: 576px) {
    .btn-with-icon {
        gap: 6px;
    }
    
    .btn-with-icon svg {
        width: 16px;
        height: 16px;
    }
}

@media screen and (max-width: 480px) {
    .btn-with-icon {
        gap: 5px;
    }
    
    .btn-with-icon svg {
        width: 15px;
        height: 15px;
    }
}

/* Fix for conversion-form highlight animation */
.conversion-form.highlight-form {
    animation: form-highlight 1.5s ease-in-out;
}

.about-cta .cta-button,
.client-cta .cta-button,
.services-cta .cta-button {
    margin-top: 20px;
    max-width: fit-content;
}

@media screen and (max-width: 768px) {
    .about-cta .cta-button,
    .client-cta .cta-button,
    .services-cta .cta-button {
        max-width: 100%;
        width: auto;
        margin-top: 15px;
    }
}

@media screen and (max-width: 576px) {
    .about-cta .cta-button,
    .client-cta .cta-button,
    .services-cta .cta-button {
        margin: 15px auto 0;
        min-width: 200px;
    }
}

/* Image Highlight Section */
.image-highlight-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.image-highlight-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.image-highlight-container img.full-width-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-highlight-container:hover img.full-width-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: white;
    transition: all 0.3s ease;
}

.image-overlay h3 {
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 600;
}

.image-overlay p {
    font-size: 16px;
    margin-bottom: 0;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .image-highlight-section {
        padding: 30px 0;
    }
    
    .image-overlay h3 {
        font-size: 24px;
    }
    
    .image-overlay p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .image-overlay h3 {
        font-size: 20px;
    }
}

/* Careers Page Styles */
.careers-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('img/careers-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.careers-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(233, 110, 91, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
}

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

.careers-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
    animation: fadeInUp 0.8s ease forwards;
}

.careers-header p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s ease forwards;
}

.careers-content {
    padding: 100px 0;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-intro h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.section-intro p {
    font-size: 18px;
    line-height: 1.7;
    color: #666;
}

.careers-benefits {
    margin: 80px 0;
}

.careers-benefits h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

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

.benefit-item {
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.benefit-item h4 {
    font-size: 20px;
    margin: 15px 0 10px;
    font-weight: 600;
    color: #333;
}

.benefit-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.benefit-item .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(233, 110, 91, 0.1);
    border-radius: 50%;
    color: #E96E5B;
    transition: all 0.3s ease;
}

.benefit-item:hover .icon {
    background-color: #E96E5B;
    color: white;
    transform: translateY(-5px);
}

.careers-application {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    margin-top: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border-top: 3px solid #E96E5B;
}

.careers-application h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
}

.careers-application p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #666;
}

.application-options {
    display: flex;
    margin-bottom: 30px;
    gap: 15px;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #E96E5B;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(233, 110, 91, 0.2);
}

.download-btn:hover {
    background-color: #d55a48;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(233, 110, 91, 0.3);
}

.career-form {
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
    transition: all 0.3s ease;
    font-size: 16px;
}

.form-group.focused label {
    color: #E96E5B;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #E96E5B;
    outline: none;
    box-shadow: 0 0 0 3px rgba(233, 110, 91, 0.15);
}

.form-group input[type="file"] {
    padding: 12px;
    background-color: #f9f9f9;
    font-size: 14px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.submit-btn {
    background-color: #E96E5B;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(233, 110, 91, 0.2);
}

.submit-btn:hover {
    background-color: #d55a48;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(233, 110, 91, 0.3);
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.loading-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Animation for fade-in elements */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-play-state: paused;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

@media (max-width: 992px) {
    .careers-header h1 {
        font-size: 42px;
    }
    
    .careers-content {
        padding: 80px 0;
    }
    
    .section-intro h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .careers-header h1 {
        font-size: 36px;
    }
    
    .careers-header p {
        font-size: 18px;
    }
    
    .careers-content {
        padding: 60px 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .section-intro h2 {
        font-size: 28px;
    }
    
    .section-intro p {
        font-size: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .careers-application {
        padding: 30px 20px;
    }
    
    .application-options {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .careers-header h1 {
        font-size: 30px;
    }
    
    .careers-header p {
        font-size: 16px;
    }
    
    .careers-content {
        padding: 40px 0;
    }
    
    .section-intro h2 {
        font-size: 24px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-item {
        padding: 20px 15px;
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .submit-btn,
    .download-btn {
        width: 100%;
        justify-content: center;
    }
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #fff;
}

.form-group select:focus {
    border-color: #E96E5B;
    outline: none;
    box-shadow: 0 0 0 3px rgba(233, 110, 91, 0.15);
}

/* ... existing footer styles ... */

.footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-contact h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-contact p svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .social-icons {
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer-contact h4, 
    .footer-links h4 {
        text-align: center;
    }
    
    .footer-contact h4::after,
    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .legal-links {
        justify-content: center;
        margin-top: 10px;
    }
}

/* ... existing styles ... */