/* ============================================
   RIGHT HMS - PROFESSIONAL STYLE
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background: #f9f9f9;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #1a237e;
}

.section-padding {
    padding: 70px 0;
}

/* ===== SECTION TITLE ===== */
.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1a237e;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title .divider {
    width: 60px;
    height: 3px;
    background: #1a237e;
    margin: 12px auto 0;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: #1a237e;
    color: #fff;
    padding: 50px 0 35px;
    margin-top: 0;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 600;
    margin: 0;
}

.page-header p {
    margin: 8px 0 0;
    font-size: 15px;
    opacity: 0.85;
}

.page-header p a {
    color: #fff;
}

.page-header p a:hover {
    color: #4fc3f7;
    text-decoration: underline;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: #1a237e;
    border: 2px solid #1a237e;
    padding: 10px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-primary.btn-lg {
    padding: 12px 40px;
    font-size: 16px;
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel .carousel-item {
    min-height: 600px;
    background-size: cover !important;
    background-position: center !important;
}

.hero-carousel .carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hero-carousel .carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.hero-carousel .carousel-caption h1 {
    font-size: 44px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-carousel .carousel-caption p {
    font-size: 18px;
    margin: 15px 0 25px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.hero-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin: 0 6px;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: #fff;
    padding: 30px 25px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-card img {
    height: 70px;
    margin-bottom: 15px;
}

.feature-card h5 {
    font-size: 18px;
    font-weight: 600;
    color: #1a237e;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.7;
}

/* ===== SPECIAL FEATURES ===== */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 10px 0;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    color: #1a237e;
    margin-right: 12px;
    font-size: 18px;
}

/* ===== SUPPORT CARDS ===== */
.support-card {
    background: #fff;
    padding: 30px 25px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.support-card i {
    font-size: 40px;
    color: #1a237e;
    margin-bottom: 15px;
}

.support-card h5 {
    font-size: 18px;
    font-weight: 600;
    color: #1a237e;
    margin-bottom: 10px;
}

.support-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.7;
}

/* ===== MODULE CARDS ===== */
.module-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.module-card img {
    height: 50px;
    display: block;
    margin: 0 auto 12px;
}

.module-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1a237e;
    text-align: center;
    margin-bottom: 12px;
}

.module-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.module-card ul li {
    padding: 4px 0;
    font-size: 13px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.module-card ul li:last-child {
    border-bottom: none;
}

.module-card ul li i {
    color: #1a237e;
    margin-right: 8px;
    font-size: 14px;
}

/* ===== SCREENSHOTS ===== */
.screenshot-group {
    margin-bottom: 40px;
}

.screenshot-group:last-child {
    margin-bottom: 0;
}

.screenshot-group h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1a237e;
    margin-bottom: 18px;
}

.screenshot-group h4 i {
    margin-right: 10px;
}

.screenshot-item img {
    width: 100%;
    border: 3px solid #fff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.screenshot-item img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* ============================================
   PORTFOLIO MARQUEE STYLES
   ============================================ */

/* ===== Option 1: Simple HTML Marquee ===== */
.portfolio-marquee-wrapper {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px 0;
    margin-top: 30px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.portfolio-marquee-wrapper marquee {
    display: block;
    width: 100%;
}

.portfolio-marquee-wrapper .marquee-inner {
    display: inline-flex;
    align-items: stretch;
    padding: 10px 0;
}

.portfolio-marquee-wrapper .marquee-item {
    background: #ffffff;
    padding: 18px 25px;
    border-radius: 10px;
    margin: 0 15px;
    min-width: 220px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #1a237e;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: left;
}

.portfolio-marquee-wrapper .marquee-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.portfolio-marquee-wrapper .marquee-item .badge {
    background: #1a237e;
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 6px;
    display: inline-block;
}

.portfolio-marquee-wrapper .marquee-item h5 {
    font-size: 15px;
    font-weight: 600;
    color: #1a237e;
    margin: 4px 0 2px;
}

.portfolio-marquee-wrapper .marquee-item p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.portfolio-marquee-wrapper .marquee-item p i {
    color: #1a237e;
    margin-right: 5px;
}

/* ===== Option 2: CSS Animated Marquee ===== */
.portfolio-marquee-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px 0;
    margin-top: 30px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid #e9ecef;
    position: relative;
}

.portfolio-marquee-container::before,
.portfolio-marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.portfolio-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa, transparent);
}

.portfolio-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa, transparent);
}

.marquee-track {
    display: flex;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-card {
    background: #ffffff;
    padding: 18px 25px;
    border-radius: 10px;
    margin: 0 12px;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #1a237e;
    transition: all 0.3s ease;
    flex-shrink: 0;
    text-align: left;
}

.marquee-card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.marquee-card .badge {
    background: #1a237e;
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 6px;
    display: inline-block;
}

.marquee-card h5 {
    font-size: 15px;
    font-weight: 600;
    color: #1a237e;
    margin: 4px 0 2px;
}

.marquee-card p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.marquee-card p i {
    color: #1a237e;
    margin-right: 5px;
}

/* ===== Animation Keyframes ===== */
@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .portfolio-marquee-wrapper .marquee-item {
        min-width: 180px;
        padding: 15px 18px;
        margin: 0 10px;
    }

    .portfolio-marquee-wrapper .marquee-item h5 {
        font-size: 13px;
    }

    .marquee-card {
        min-width: 160px;
        padding: 15px 18px;
        margin: 0 8px;
    }

    .marquee-card h5 {
        font-size: 13px;
    }

    .portfolio-marquee-container::before,
    .portfolio-marquee-container::after {
        width: 30px;
    }
}

@media (max-width: 576px) {
    .portfolio-marquee-wrapper .marquee-item {
        min-width: 150px;
        padding: 12px 15px;
        margin: 0 8px;
    }

    .marquee-card {
        min-width: 140px;
        padding: 12px 15px;
        margin: 0 6px;
    }

    .marquee-card h5 {
        font-size: 12px;
    }

    .marquee-card p {
        font-size: 11px;
    }
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-card i {
    font-size: 36px;
    color: #1a237e;
    margin-bottom: 12px;
}

.service-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1a237e;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.service-card ul li {
    padding: 3px 0;
    font-size: 13px;
    color: #555;
}

.service-card ul li i {
    color: #1a237e;
    margin-right: 8px;
}

/* ===== PORTFOLIO ===== */
.portfolio-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 4px solid #1a237e;
}

.portfolio-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.portfolio-item .badge {
    background: #1a237e;
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.portfolio-item h5 {
    font-size: 16px;
    font-weight: 600;
    color: #1a237e;
    margin: 5px 0 3px;
}

.portfolio-item p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.portfolio-item p i {
    color: #1a237e;
    margin-right: 6px;
}

/* ===== CONTACT ===== */
.contact-form {
    background: #fff;
    padding: 35px 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.contact-form h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a237e;
    margin-bottom: 20px;
}

.contact-form .form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px 14px;
    font-size: 14px;
}

.contact-form .form-control:focus {
    border-color: #1a237e;
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.15);
}

.contact-info {
    background: #fff;
    padding: 35px 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.contact-info h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a237e;
    margin-bottom: 20px;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info ul li {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-info ul li:last-child {
    border-bottom: none;
}

.contact-info ul li i {
    font-size: 20px;
    color: #1a237e;
    width: 30px;
    margin-top: 3px;
}

.contact-info ul li div {
    flex: 1;
}

.contact-info ul li strong {
    font-size: 14px;
    color: #333;
}

/* ===== MAP ===== */
.map-section #google-map {
    height: 400px;
    width: 100%;
}

/* ===== SKILLS ===== */
.skill-item {
    margin-bottom: 20px;
}

.skill-item .progress {
    height: 8px;
    border-radius: 4px;
    background: #e9ecef;
}

.skill-item .progress-bar {
    background: #1a237e;
    border-radius: 4px;
    transition: width 1.2s ease;
}

.skill-item span {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* ===== SOLUTION LIST ===== */
.solution-list {
    list-style: none;
    padding: 0;
}

.solution-list li {
    padding: 5px 0;
    font-size: 14px;
    color: #444;
}

.solution-list li i {
    color: #1a237e;
    margin-right: 10px;
}

/* ===== FOOTER ===== */
.footer {
    background: #0d1b2a;
    color: #ccc;
    padding: 50px 0 20px;
}

.footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 18px;
    font-size: 18px;
}

.footer p {
    font-size: 14px;
    line-height: 1.8;
}

.footer .social-links a {
    display: inline-block;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #fff;
    margin-right: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer .social-links a:hover {
    background: #1a237e;
    transform: translateY(-3px);
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    padding: 4px 0;
}

.footer ul li a {
    color: #aaa;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer .footer-contact li {
    padding: 5px 0;
    font-size: 14px;
    color: #aaa;
    display: flex;
    align-items: center;
}

.footer .footer-contact li i {
    width: 22px;
    color: #4fc3f7;
}

.footer .footer-contact li a {
    color: #4fc3f7;
}

.footer .footer-contact li a:hover {
    color: #fff;
}

.footer .footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 25px 0 20px;
}

.footer .copyright {
    font-size: 13px;
    color: #777;
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    line-height: 60px;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    color: #fff;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-carousel .carousel-item {
        min-height: 450px;
    }

    .hero-carousel .carousel-caption h1 {
        font-size: 34px;
    }

    .section-padding {
        padding: 50px 0;
    }
}

@media (max-width: 768px) {
    .hero-carousel .carousel-item {
        min-height: 380px;
    }

    .hero-carousel .carousel-caption h1 {
        font-size: 26px;
    }

    .hero-carousel .carousel-caption p {
        font-size: 15px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .footer .col-lg-4,
    .footer .col-lg-3,
    .footer .col-lg-5 {
        text-align: center;
    }

    .footer .social-links {
        justify-content: center;
    }

    .contact-info ul li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-info ul li i {
        margin-bottom: 6px;
    }
}

@media (max-width: 576px) {
    .hero-carousel .carousel-item {
        min-height: 300px;
    }

    .hero-carousel .carousel-caption h1 {
        font-size: 20px;
    }

    .hero-carousel .carousel-caption p {
        font-size: 13px;
    }

    .hero-carousel .carousel-caption .btn {
        padding: 8px 20px;
        font-size: 13px;
    }

    .feature-card {
        padding: 20px 15px;
    }

    .module-card {
        padding: 20px 15px;
    }

    .contact-form {
        padding: 20px 15px;
    }

    .contact-info {
        padding: 20px 15px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        line-height: 50px;
        bottom: 15px;
        right: 15px;
    }
}