
/* ============================================
   CUSTOM VARIABLES
   ============================================ */

:root {
    --primary-color: #eb650e;
    --primary-dark: #d45a0c;
    --text-white: #ffffff;
}

/* ============================================
   TOP BAR STYLES (CUSTOM)
   ============================================ */

#topbar {
    background-color: var(--primary-color);
    font-size: 14px;
    height: 40px;
    z-index: 1030;
}

#topbar .nav-link {
    color: var(--text-white) !important;
    padding: 0 10px;
    font-weight: 500;
}

#topbar .nav-link:hover {
    opacity: 0.9;
}

#topbar .separator {
    color: rgba(255, 255, 255, 0.5);
}

#topbar .social-links a {
    color: var(--text-white);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

#topbar .social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* ============================================
   HERO SECTION (CUSTOM OVERRIDES)
   ============================================ */

/* Carousel custom styles */
#heroCarousel .carousel-caption {
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
}

.hero-text-wrapper {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-text-wrapper h2,
.hero-text-wrapper h3,
.hero-text-wrapper p {
    color: var(--text-white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.hero-text-wrapper h2 span {
    color: var(--primary-color) !important;
}

/* Custom Hero Buttons */
.btn-hero {
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    min-width: 200px;
    border: none;
}

.btn-hero.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(235, 101, 14, 0.4);
}

.btn-hero.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(235, 101, 14, 0.6);
}

.btn-hero.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Custom Carousel Controls */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
    opacity: 0.8;
}

#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

/* Custom Indicators */
#heroCarousel .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
}

#heroCarousel .carousel-indicators .active {
    background-color: var(--primary-color);
}

/* ============================================
   ABOUT SECTION (CUSTOM)
   ============================================ */

.about-section {
    position: relative;
    color: #000000;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 25, 47, 0.85) 0%, rgba(10, 25, 47, 0.7) 100%);
    z-index: 2;
}

.content-wrapper {
    position: relative;
    z-index: 3;
}

.about-text p {
    color: #000000;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.visionbox {
    background: #ffffff;
    border-left: 4px solid var(--primary-color);
    border-right: 1px solid var(--primary-color);
    border-top: 1px solid var(--primary-color);
    border-bottom: px solid var(--primary-color);
    border-radius: 8px;
}

.about-image {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 991.98px) {
    #topbar {
        height: auto;
        padding: 8px 0;
    }
    
    .hero-text-wrapper h2 {
        font-size: 2rem;
    }
    
    .btn-hero {
        padding: 12px 25px;
        min-width: 180px;
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .hero-container {
        height: 70vh !important;
    }
    
    .hero-text-wrapper {
        padding: 1.5rem !important;
    }
    
    .hero-text-wrapper h2 {
        font-size: 1.5rem;
    }
    
    .btn-hero {
        padding: 10px 20px;
        min-width: 160px;
        font-size: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-hero {
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 10px;
    }
}



/* Medical Solutions Carousel - Custom Implementation */
.medical-solutions-section {
    position: relative;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

/* Carousel Wrapper */
.medical-solutions-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 50px;
}

.medical-solutions-carousel-container {
    width: 100%;
    overflow: hidden;
}

.medical-solutions-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

/* Individual Slide Item */
.solution-slide-item {
    flex: 0 0 calc(33.333% - 14px); /* Show 3 items, accounting for gap */
    min-width: calc(33.333% - 14px);
}

/* Background Image Container */
.solution-bg-image {
    position: relative;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay */
.solution-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
}

/* Content Styling */
.solution-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    z-index: 2;
}

.solution-text {
    color: white;
}

.solution-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

/* Title Line Below Heading */
.title-line {
    width: 50px;
    height: 3px;
    background: #eb650e;
    margin: 10px 0 15px 0;
    border-radius: 2px;
}

.solution-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.solution-btn {
    background: #eb650e;
    border: none;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.solution-btn:hover {
    background: #d45a0c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(235, 101, 14, 0.3);
}

/* Navigation Buttons */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    color: #eb650e;
}

.carousel-nav-btn:hover {
    background: #eb650e;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Dots Indicators */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ced4da;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #eb650e;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .solution-slide-item {
        flex: 0 0 calc(33.333% - 14px);
        min-width: calc(33.333% - 14px);
    }
}

@media (max-width: 992px) {
    .solution-slide-item {
        flex: 0 0 calc(50% - 10px); /* Show 2 items on tablet */
        min-width: calc(50% - 10px);
    }
    
    .medical-solutions-carousel-wrapper {
        padding: 0 40px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .solution-slide-item {
        flex: 0 0 100%; /* Show 1 item on mobile */
        min-width: 100%;
    }
    
    .medical-solutions-carousel-wrapper {
        padding: 0 30px;
    }
    
    .carousel-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .solution-bg-image {
        height: 300px;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 576px) {
    .medical-solutions-carousel-wrapper {
        padding: 0 20px;
    }
    
    .solution-bg-image {
        height: 280px;
    }
    
    .solution-content {
        padding: 20px;
    }
    
    .solution-title {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}



/* Wellness Promise Section */
.wellness-promise-section {
    background-color: #F4F8FF;
    position: relative;
    overflow: hidden;
}

/* Heading Styles */
.promise-main-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #275858;
    margin-bottom: 10px;
    line-height: 1.2;
}

.promise-sub-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #eb650e;
    margin-bottom: 15px;
}

.promise-line {
    width: 100px;
    height: 4px;
    background: #275858;
    margin: 15px auto;
    border-radius: 2px;
}

.promise-description {
    font-size: 1.2rem;
    color: #275858;
    max-width: 600px;
}

/* Circle Styles */
.circle-container {
    padding: 15px;
}

.circle-number-wrapper {
    width: 140px;
    height: 140px;
    border: 2px solid #275858;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    background-color: #F4F8FF;
    transition: all 0.3s ease;
}

.circle-container:hover .circle-number-wrapper {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(39, 88, 88, 0.1);
}

.circle-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #275858;
    line-height: 1;
}

.circle-text {
    font-size: 1rem;
    font-weight: 600;
    color: #275858;
    margin: 0;
    line-height: 1.3;
}

/* Square Box Styles */
.square-box {
    background: #ffffff;
    border: 2px solid #275858;
    border-radius: 10px;
    padding: 20px 15px;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.square-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(39, 88, 88, 0.15);
}

.square-icon {
    width: 60px;
    height: 60px;
    background: #F4F8FF;
    border: 2px solid #275858;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.square-icon i {
    font-size: 1.8rem;
    color: #275858;
}

.square-content {
    flex: 1;
}

.square-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #275858;
    margin-bottom: 5px;
}

.square-description {
    font-size: 0.9rem;
    color: #275858;
    opacity: 0.8;
    margin: 0;
    line-height: 1.4;
}

/* CTA Styles */
.promise-btn {
    background: #eb650e;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.promise-btn:hover {
    background: #d45a0c;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(235, 101, 14, 0.3);
}

.cta-note {
    font-size: 1.1rem;
    color: #275858;
}

.cta-note strong {
    color: #eb650e;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .circle-number-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .circle-number {
        font-size: 1.8rem;
    }
    
    .square-box {
        min-height: 160px;
    }
}

@media (max-width: 992px) {
    .promise-main-title {
        font-size: 2.2rem;
    }
    
    .promise-sub-title {
        font-size: 1.5rem;
    }
    
    .circle-number-wrapper {
        width: 110px;
        height: 110px;
    }
    
    .circle-number {
        font-size: 1.6rem;
    }
    
    .circle-text {
        font-size: 0.9rem;
    }
    
    .square-box {
        min-height: 150px;
        padding: 15px 10px;
    }
    
    .square-icon {
        width: 50px;
        height: 50px;
    }
    
    .square-icon i {
        font-size: 1.5rem;
    }
    
    .square-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .promise-main-title {
        font-size: 1.8rem;
    }
    
    .promise-sub-title {
        font-size: 1.3rem;
    }
    
    .promise-description {
        font-size: 1rem;
    }
    
    .circle-number-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .circle-number {
        font-size: 1.4rem;
    }
    
    .circle-text {
        font-size: 0.85rem;
    }
    
    .square-box {
        min-height: 140px;
    }
    
    .square-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 10px;
    }
    
    .square-icon i {
        font-size: 1.3rem;
    }
    
    .square-title {
        font-size: 1rem;
    }
    
    .square-description {
        font-size: 0.8rem;
    }
    
    .promise-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .promise-main-title {
        font-size: 1.5rem;
    }
    
    .promise-sub-title {
        font-size: 1.1rem;
    }
    
    .circle-number-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .circle-number {
        font-size: 1.2rem;
    }
    
    .circle-text {
        font-size: 0.75rem;
    }
    
    .square-box {
        min-height: 130px;
        padding: 12px 8px;
    }
    
    .square-icon {
        width: 40px;
        height: 40px;
    }
    
    .square-icon i {
        font-size: 1.1rem;
    }
    
    .promise-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .cta-note {
        font-size: 0.9rem;
    }
}

/* Animation for circles on load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.circle-container, .square-box {
    animation: fadeInUp 0.6s ease forwards;
}

.circle-container:nth-child(2) { animation-delay: 0.1s; }
.circle-container:nth-child(3) { animation-delay: 0.2s; }
.circle-container:nth-child(4) { animation-delay: 0.3s; }
.circle-container:nth-child(5) { animation-delay: 0.4s; }
.circle-container:nth-child(6) { animation-delay: 0.5s; }

.square-box:nth-child(2) { animation-delay: 0.6s; }
.square-box:nth-child(3) { animation-delay: 0.7s; }
.square-box:nth-child(4) { animation-delay: 0.8s; }
.square-box:nth-child(5) { animation-delay: 0.9s; }
.square-box:nth-child(6) { animation-delay: 1s; }
