/* ================================================== */

/* import fonts */

/* ================================================== */



@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');





* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



body {

    font-family: "Urbanist", Helvetica, Arial, sans-serif;

    line-height: 1.6;

}



p {

    font-family: "Inter", Helvetica, Arial, sans-serif;

}

.clients img {

    width: 150px;

    height: auto;

}





.container {

  max-width: 1200px;

  margin: 0 auto;

  padding: 0 20px;

}



/* =========== Header Styles =========== */

.header {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    background: #fff;

    box-shadow: 0 2px 5px rgba(0,0,0,0.05);

    z-index: 1000;

    transition: background 0.3s, box-shadow 0.3s;

}



.header.scrolled {

    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);

}



.header-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 15px 0px;

    max-width: 1200px;

    margin: 0 auto;

}



/* Logo */

.logo a {

    display: flex;

    align-items: center;

    text-decoration: none;

    color: #333;

}



.logo img {

    width: 80px;

    height: auto;

    transition: transform 0.3s ease;

}



.logo img:hover {

    transform: scale(1.05);

}



.brand-name {

    margin-left: 10px;

    font-size: 50px;

    font-weight: bold;

    font-family: "Times New Roman", Times, serif;

    color: #333;

}



/* Navigation */

.nav {

    display: flex;

    align-items: center;

    font-family: Inter, Helvetica, Arial, sans-serif;

}



.nav-links {

    display: flex;

    list-style: none;

    gap: 30px;

}



.nav-links li a {

    text-decoration: none;

    color: #333;

    font-size: 18px;

    font-weight: 500;

    padding: 8px 12px;

    position: relative;

    transition: 0.3s ease;

}



.nav-links li a:hover {

    color: #000;

}



.nav-links li a::before {

    content: '';

    position: absolute;

    bottom: 0;

    left: 50%;

    width: 0;

    height: 2px;

    background: #333;

    transition: 0.3s ease;

    transform: translateX(-50%);

}



.nav-links li a:hover::before {

    width: 100%;

}



/* Mobile Toggle */

.mobile-toggle {

    display: none;

    flex-direction: column;

    cursor: pointer;

    gap: 5px;

    margin-left: 20px;

}



.mobile-toggle span {

    width: 25px;

    height: 3px;

    background: #333;

    border-radius: 2px;

    transition: 0.3s ease;

}



/* Mobile Menu Open Animation */

.mobile-toggle.active span:nth-child(1) {

    transform: rotate(45deg) translate(5px, 5px);

}



.mobile-toggle.active span:nth-child(2) {

    opacity: 0;

}



.mobile-toggle.active span:nth-child(3) {

    transform: rotate(-45deg) translate(5px, -5px);

}



/* Mobile Nav Styles */

@media (max-width: 1024px) {

    .nav-links {

        position: absolute;

        top: 85px;

        right: 0;

        left: 0;

        background: #fff;

        flex-direction: column;

        align-items: center;

        padding: 20px 0;

        transform: translateY(-200%);

        opacity: 0;

        pointer-events: none;

        transition: all 0.4s ease;

        border-top: 1px solid #ddd;

    }



    .nav-links.active {

        transform: translateY(0);

        opacity: 1;

        pointer-events: auto;

    }



    .mobile-toggle {

        display: flex;

    }



    .nav-links li a {

        font-size: 18px;

        padding: 10px 0;

    }

}



/* Extra Small Devices */

@media (max-width: 480px) {

    .brand-name {

        font-size: 24px;

    }



    .logo img {

        width: 50px;

    }

}





/* Banner Section */



.banner {

    background: url(../images/WEB-BANNER.webp) no-repeat center center/cover;    

    color: #fff;

    padding: 100px 0 100px;

    position: relative;

    overflow: hidden;

}

/* Black transparent overlay */

.banner-overlay {

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(0, 0, 0, 0.6);  /* Black overlay */

    z-index: 1;

}



.banner-content {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 30px;

    text-align: right;

    margin-top: 100px;

}



.banner-text {

    flex: 1;

    min-width: 280px;

}



.banner-text h1 {

    font-size: 2.8rem;

    margin-bottom: 20px;

    color: #fff;

}



.banner-subtitle {

    font-size: 1.2rem;

    margin-bottom: 25px;

    color: #ddd;

}



.banner-image {

    flex: 1;

    min-width: 280px;

    text-align: center;

}



.banner-image img {

    max-width: 100%;

    height: auto;

    border-radius: 12px;

}



/* Responsive */

@media (max-width: 768px) {

    .banner-content {

        flex-direction: column-reverse;

        text-align: center;

        margin-top: 110px;

    }



    .banner-text h1 {

        font-size: 2rem;

    }



    .banner-subtitle {

        font-size: 1rem;

    }

}



/* About Section */

.about {

    padding: 80px 0;

}



.about-content {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 4rem;

    align-items: center;

}



.about-text h2 {

    font-size: 2.5rem;

    margin-bottom: 1.5rem;

    color: #000;

}



.about-text p {

    font-size: 1.1rem;

    line-height: 1.8;

    color: #555;

}



.about-image {

    position: relative;

}



.about-image-placeholder {

    width: 100%;

    height: 400px;

    background-image: url('images/banner.webp');

    display: flex;

    align-items: center;

    justify-content: center;

    color: #fff;

    font-size: 1.2rem;

    position: relative;

    z-index: 2;

}


/*
.about-image-placeholder img {

    filter: grayscale(100%);

    transition: filter 0.3s ease, transform 0.3s ease;

}

.about-image-placeholder:hover img {

    filter: grayscale(0%);

}
*/

/* Stats Section */

.stats {

    padding: 60px 0px;

    background: url(../images/backgrond-ryan.jpg);

    background-size: cover;

    background-position: center;

    background-attachment: fixed;

    background-repeat: no-repeat;

    text-align: center;

}



.stats-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));

    gap: 30px;

    max-width: 1200px;

    margin: 0 auto;

    padding: 0px 20px;

}



.stat-item {

    padding: 30px 20px;

}





.stat-item h3 {

    font-size: 36px;

    margin-bottom: 12px;

    color: #222;

}



.stat-item p {

    color: #555;

    font-size: 16px;

    margin: 0;

}



.stat-item:nth-child(1), .stat-item:nth-child(2), .stat-item:nth-child(3), .stat-item:nth-child(4) {

    border-right: 1px solid #acacac;

}

@media (min-width: 768px) {

    .stat-item:nth-child(1),

    .stat-item:nth-child(3) {

        border-right: 1px solid #acacac;

    }

}



@media (max-width: 480px) {

    .stat-item h3 {

        font-size: 28px;

    }



    .stat-item p {

        font-size: 14px;

    }

    .stat-item:not(:last-child) {

        border-bottom: 1px solid #acacac;

        border-right:0;

    }

}



/* Optional fade-in */

.fade-in {

    opacity: 0;

    transform: translateY(20px);

    animation: fadeInUp 1s forwards;

}



.client-card.fade-in {

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    align-items: center;

}



@keyframes fadeInUp {

    to {

        opacity: 1;

        transform: translateY(0);

    }

}





/* Clients Section */

.clients-section {

    padding: 100px 0px;

    position: relative;

    overflow: hidden;

    background: #fff;

}



.clients-section canvas#clientsDustCanvas {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    display: block;

    z-index: 0;

}

.clients-section .container {

    position: relative;

    z-index: 1;  /* Content stays above the dust */

}





.clients-section h2 {

    text-align: center;

    margin-bottom: 40px;

    font-size: 2rem;

    color: #333;

}



.clients-content {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 40px;

    flex-wrap: wrap;

}



.clients-images {

    flex: 1 1 300px;

    max-width: 33%;

    display: flex;

    align-items: center;

    justify-content: center;

}



.clients-images img {

    max-width: 100%;

    height: auto;

    border-radius: 12px;

}



.clients-logos {

    flex: 2 1 600px;

    max-width: 66%;

}



.clients-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 40px;

}



.client-card {

    background: #fff;

    padding: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    height: 120px;

    border-width: 1px;

    border-style: solid;

    border-color: rgb(221, 221, 221);

    border-radius: 12px;

    transition: transform 0.3s;

}



.client-card img {

    max-height: 100%;

    max-width: 100%;

    object-fit: contain;

    transition: filter 0.3s ease, transform 0.3s ease;

}



.client-card:hover img {

    filter: grayscale(0%);

    transform: scale(1.05); /* Optional: subtle zoom on hover */

}



@media (max-width: 900px) {

    .clients-content {

    flex-direction: column;

    gap: 30px;

    }



    .clients-images, .clients-logos {

    max-width: 100%;

    }



    .clients-section h2 {

    font-size: 1.6rem;

    }

}





/* Responsive Design */

@media (max-width: 768px) {

    .header-content {

        flex-direction: column;

        gap: 1rem;

    }



    .nav-menu {

        flex-direction: column;

        gap: 1rem;

    }



    .banner {

        padding: 120px 0 80px;

    }



    .banner h1 {

        font-size: 2rem;

    }



    .about-content {

        grid-template-columns: 1fr;

        gap: 1rem;

    }



    .about-text {

        order: 2;

    }



    .about-image {

        order: 1;

    }



    .stats-grid {

        grid-template-columns: repeat(2, 1fr);

    }



    .clients-grid {

        grid-template-columns: 1fr;

    }

}



@media (max-width: 480px) {

    .stats-grid {

        grid-template-columns: 1fr;

    }

}



/* Animation */

@keyframes fadeInUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.fade-in {

    animation: fadeInUp 0.6s ease-out;

}





/* Main content styles */

section.health-services {

    padding: 150px 0 100px 0;

}



.health-header {

    text-align: center;

    margin-bottom: 60px;

    padding: 20px;

}



.health-header h2 {

    font-size: 48px;

    margin-bottom: 20px;

    font-weight: 700;

}



.health-header p {

    font-size: 20px;

    max-width: 700px;

    margin: 0 auto;

    opacity: 0.9;

    line-height: 1.8;

}



/* Grid layout for services */

.health-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    max-width: 1200px;

    margin: 0 auto;

    padding: 20px;

}



.health-card {

    background: rgba(255, 255, 255, 0.95);

    border: none;

    padding: 40px 30px;

    border-radius: 20px;

    text-align: center;

    color: #333;

    transition: all 0.4s ease;

    backdrop-filter: blur(10px);

    position: relative;

    overflow: hidden;

    border-width: 1px;

    border-style: solid;

    border-color: rgb(221, 221, 221);

    cursor: pointer;

}



.health-card::before {

    content: '';

    position: absolute;

    top: 0;

    left: -100%;

    width: 100%;

    height: 100%;

    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);

    transition: left 0.5s ease;

}



.health-card:hover::before {

    left: 100%;

}



.health-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);

    background: rgba(255, 255, 255, 1);

}



.health-card i {

    font-size: 3rem;

    margin-bottom: 25px;

    color: #000;

    transition: all 0.3s ease;

}



.health-card:hover i {

    color: #764ba2;

    transform: scale(1.1);

}



.health-card h3 {

    margin: 0;

    font-size: 24px;

    color: #333;

    font-weight: 600;

    line-height: 1.3;

    margin-bottom: 10px;

}



.health-card:hover h3 {

    color: #000;

}

/* Learn More Button */
.btn-learn-more {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #764ba2, #667eea);
    border: none;
    border-radius: 30px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.btn-learn-more:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-learn-more:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}




/* Dark overlay */

.open-box {

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,0.6);

    display: none; /* hidden by default */

    justify-content: center;

    align-items: center;

    z-index: 9999;

}



/* Info box */

.info-box {

    background: #fff;

    padding: 30px;

    max-width: 700px;

    max-height: 80vh;

    overflow-y: auto; /* allow scrolling inside box */

    border-radius: 12px;

    position: relative;

    display: none;

}



.close-btn {

    position: absolute;

    top: 10px;

    right: 15px;

    font-size: 30px;

    cursor: pointer;

}



.info-box h3 {

    font-size: 24px;

    color: #333;

    font-weight: 600;

    line-height: 1.3;

    margin-bottom: 15px;

}

.info-box h4 {

    font-size: 20px;

    color: #333;

    font-weight: 600;

    line-height: 1.3;

    margin-bottom: 15px;

}

/* Responsive design */

@media (max-width: 768px) {

    .mobile-menu-toggle {

        display: flex;

    }



    #mainmenu {

        display: none;

        position: absolute;

        top: 100%;

        left: 0;

        width: 100%;

        background: white;

        flex-direction: column;

        padding: 20px;

        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);

    }



    #mainmenu.active {

        display: flex;

    }



    #mainmenu li {

        margin: 10px 0;

    }



    .health-services {

        padding: 100px 15px 60px 15px;

    }



    .health-header h2 {

        font-size: 36px;

    }



    .health-header p {

        font-size: 18px;

    }



    .health-grid {

        grid-template-columns: 1fr;

        gap: 20px;

    }



    .health-card {

        padding: 30px 20px;

    }



    .health-card i {

        font-size: 2.5rem;

    }



    .health-card h3 {

        font-size: 20px;

    }

}



@media (max-width: 480px) {

    .health-header h2 {

        font-size: 28px;

    }



    .health-header p {

        font-size: 16px;

    }



    .health-grid {

        grid-template-columns: 1fr;

    }



    .health-card {

        padding: 25px 15px;

    }



    .health-card h3 {

        font-size: 18px;

    }

}





canvas {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

}



.logo-container {

    position: relative;

    width: 500px;

    height: 500px;

}



.logo-container img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));

}



.logo-fill {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    mask-image: url('images/Cowboy.png');

    -webkit-mask-image: url('images/Cowboy.png');

    mask-size: contain;

    mask-repeat: no-repeat;

    mask-position: center;

    background: linear-gradient(0deg, #D5C075 50%, transparent 50%);

    background-size: 100% 200%;

    animation: fillMask 5s ease-in-out infinite alternate;

}



@keyframes fillMask {

    0% { background-position: 0% 0%; }

    100% { background-position: 0% 100%; }

}



.smoke {

    position: absolute;

    left: 50%;

    top: 35%;

    transform: translateX(-50%);

    width: 0;

    height: 0;

    pointer-events: none;

}



.smoke span {

    position: absolute;

    bottom: 0;

    left: 50%;

    background: rgba(200, 200, 200, 0.4);

    border-radius: 50%;

    transform: translateX(-50%) translateY(0) scale(1);

    opacity: 0;

    animation-name: smokeRise;

    animation-timing-function: ease-in-out;

    animation-fill-mode: forwards;

}



@keyframes smokeRise {

    0% {

        transform: translateX(0) translateY(0) scale(1);

        opacity: 0;

    }



    10% {

        opacity: 0.5;

    }



    50% {

        transform: translateX(var(--drift, 0px)) translateY(-50px) scale(1.4);

        opacity: 0.3;

    }



    100% {

        transform: translateX(var(--drift, 0px)) translateY(-100px) scale(2);

        opacity: 0;

    }

}





/*footer section*/



.footer {

    background-color: #222;

    color: #fff;

    padding: 30px 20px;

    font-size: 18px;

}



.footer-container {

    display: flex;

    flex-wrap: wrap;

    justify-content: space-between;

    align-items: center;

}



.footer-left {

    text-align: center;

}



.footer-logo {

    width: 60px;

    margin-bottom: 10px;

}



.footer-left p {

    margin: 0;

    font-size: 18px;

}



.footer-right {

    text-align: center;

}



.footer-links {

    list-style: none;

    padding: 0;

}



.footer-links li {

    display: inline-block;

    margin: 0 10px;

}



.footer-links a {

    color: #fff;

    text-decoration: none;

    font-weight: 500;

}



.footer-links a:hover {

    text-decoration: underline;

}



.footer-social a {

    color: #fff;

    margin: 0 8px;

    font-size: 18px;

}



.footer-social a:hover {

    color: #aaa;

}



@media (max-width: 768px) {

    .footer-container {

        flex-direction: column;

        text-align: center;

    }



    .footer-right {

        margin-top: 20px;

    }

}

