/* ============================================
   MEDDOZ - CLASSIC 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: #1a472a;
}

.section-padding {
    padding: 70px 0;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: #1a1a2e;
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar span {
    margin-right: 20px;
}

.top-bar span i {
    margin-right: 6px;
    color: #4CAF50;
}

.top-bar a {
    color: #fff;
    margin-left: 12px;
}

.top-bar a:hover {
    color: #4CAF50;
}

/* ===== NAVIGATION ===== */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    background: #fff !important;
}

.navbar-brand img {
    height: 50px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #333;
    padding: 10px 18px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #1a472a;
    background: #f0f5f0;
    border-radius: 4px;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: #1a472a;
    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: #a8d5a8;
    text-decoration: underline;
}

/* ===== SECTION TITLE ===== */
.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1a472a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title .divider {
    width: 60px;
    height: 3px;
    background: #1a472a;
    margin: 12px auto 0;
}

.hero-carousel {
    margin-top: 0;
    position: relative;
}

.hero-carousel .carousel-item {
    min-height: 550px;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    position: relative;
}

.hero-carousel .carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-carousel .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.hero-carousel .carousel-caption h1 {
    font-size: 40px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero-carousel .carousel-caption p {
    font-size: 18px;
    color: #f0f0f0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 25px;
    font-weight: 300;
}

.hero-carousel .carousel-caption .btn {
    font-weight: 500;
    padding: 12px 35px;
    border-radius: 30px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #1a472a;
    border: 2px solid #1a472a;
    color: #fff;
    transition: all 0.3s ease;
}

.hero-carousel .carousel-caption .btn:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
    z-index: 3;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    opacity: 1;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-size: 60%;
}

.hero-carousel .carousel-indicators {
    z-index: 3;
    bottom: 30px;
}

.hero-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    margin: 0 6px;
    opacity: 0.7;
}

.hero-carousel .carousel-indicators button.active {
    background: #1a472a;
    border-color: #1a472a;
    opacity: 1;
}

/* ===== FIXED: Carousel fade animation ===== */
.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 0.8s;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    opacity: 0;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-prev {
    transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-carousel .carousel-item {
        min-height: 450px;
    }

    .hero-carousel .carousel-caption h1 {
        font-size: 32px;
    }

    .hero-carousel .carousel-caption p {
        font-size: 16px;
    }
}

@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: 14px;
    }

    .hero-carousel .carousel-caption .btn {
        padding: 10px 25px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .hero-carousel .carousel-item {
        min-height: 320px;
    }

    .hero-carousel .carousel-caption h1 {
        font-size: 20px;
    }

    .hero-carousel .carousel-caption p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .hero-carousel .carousel-caption .btn {
        padding: 8px 20px;
        font-size: 12px;
    }
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: #1a472a;
    border: 2px solid #1a472a;
    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;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: #fff;
    padding: 30px 25px;
    text-align: center;
    border-radius: 8px;
    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: #1a472a;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.7;
}

/* ===== SUPPORT CARDS ===== */
.support-card {
    background: #fff;
    padding: 30px 25px;
    text-align: center;
    border-radius: 8px;
    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: #1a472a;
    margin-bottom: 15px;
}

.support-card h5 {
    font-size: 18px;
    font-weight: 600;
    color: #1a472a;
    margin-bottom: 10px;
}

.support-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.7;
}

/* ===== ABOUT PREVIEW ===== */
.about-preview h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1a472a;
}

.about-preview h4 {
    color: #1a472a;
    font-weight: 600;
}

.about-preview p {
    color: #555;
    line-height: 1.8;
}

/* ===== MODULE CARDS ===== */
.module-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 8px;
    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: 20px;
    font-weight: 600;
    color: #1a472a;
    text-align: center;
    margin-bottom: 10px;
}

.module-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    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: #1a472a;
    margin-right: 8px;
    font-size: 12px;
}

/* ===== SCREENSHOTS ===== */
.screenshot-group {
    margin-bottom: 40px;
}

.screenshot-group:last-child {
    margin-bottom: 0;
}

.screenshot-group h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1a472a;
    margin-bottom: 18px;
}

.screenshot-group h4 i {
    margin-right: 10px;
    color: #1a472a;
}

.screenshot-group img {
    width: 100%;
    border: 3px solid #fff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.screenshot-group img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 8px;
    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: #1a472a;
    margin-bottom: 12px;
}

.service-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1a472a;
    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: #1a472a;
    margin-right: 8px;
    font-size: 12px;
}

/* ===== PORTFOLIO ===== */
.portfolio-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 4px solid #1a472a;
}

.portfolio-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.portfolio-item .badge {
    background: #1a472a;
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.portfolio-item h5 {
    font-size: 16px;
    font-weight: 600;
    color: #1a472a;
    margin: 5px 0 3px;
}

.portfolio-item p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.portfolio-item p i {
    color: #1a472a;
    margin-right: 6px;
}

/* ===== CONTACT ===== */
.contact-form {
    background: #fff;
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.contact-form h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a472a;
    margin-bottom: 20px;
}

.contact-form .form-control {
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 10px 14px;
    font-size: 14px;
}

.contact-form .form-control:focus {
    border-color: #1a472a;
    box-shadow: 0 0 0 3px rgba(26, 71, 42, 0.15);
}

.contact-info {
    background: #fff;
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.contact-info h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a472a;
    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: #1a472a;
    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: #1a472a;
    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: #1a472a;
    margin-right: 10px;
}

/* ============================================
   FOOTER STYLES - UPDATED
   ============================================ */

.footer {
    background: #0d1b2a;
    color: #e0e0e0;
    padding: 60px 0 20px;
    border-top: 4px solid #1a472a;
}

.footer h5 {
    color: #ffffff;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 12px;
}

.footer h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #2ecc71;
    border-radius: 2px;
}

.footer .footer-text {
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ===== Social Links ===== */
.footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #c0c0c0;
    margin-right: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .social-links a:hover {
    background: #1a472a;
    color: #ffffff;
    transform: translateY(-3px);
    border-color: #2ecc71;
    box-shadow: 0 5px 15px rgba(26, 71, 42, 0.4);
}

/* ===== Quick Links ===== */
.footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-links li {
    padding: 6px 0;
}

.footer .footer-links li a {
    color: #b0b0b0;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer .footer-links li a:hover {
    color: #2ecc71;
    padding-left: 8px;
}

.footer .footer-links li a:before {
    content: '▸ ';
    color: #2ecc71;
    font-size: 12px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer .footer-links li a:hover:before {
    opacity: 1;
}

/* ===== Contact Info ===== */
.footer .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-contact li {
    padding: 8px 0;
    font-size: 14px;
    color: #b0b0b0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.footer .footer-contact li:last-child {
    border-bottom: none;
}

.footer .footer-contact li i {
    width: 28px;
    color: #2ecc71;
    font-size: 15px;
    flex-shrink: 0;
}

.footer .footer-contact li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .footer-contact li a:hover {
    color: #2ecc71;
}

/* ===== Divider ===== */
.footer .footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 25px 0 20px;
}

/* ===== Copyright ===== */
.footer .copyright {
    color: #888888;
    font-size: 13px;
    margin: 0;
    letter-spacing: 0.5px;
}

.footer .copyright a {
    color: #2ecc71;
    text-decoration: none;
}

.footer .copyright a:hover {
    text-decoration: underline;
}

/* ===== WhatsApp Icon Special Style ===== */
.footer .social-links a .fa-whatsapp {
    color: #25D366;
}

.footer .social-links a:hover .fa-whatsapp {
    color: #ffffff;
}

.footer .social-links a:hover {
    background: #25D366;
    border-color: #25D366;
}

/* ===== WhatsApp in Contact Info ===== */
.footer .footer-contact li .fa-whatsapp {
    color: #25D366;
    font-size: 16px;
}

.footer .footer-contact li a[href*="wa.me"] {
    color: #25D366;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer .footer-contact li a[href*="wa.me"]:hover {
    color: #128C7E;
    padding-left: 5px;
}

/* ===== Floating WhatsApp Button (Optional) ===== */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    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: #ffffff;
}

@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);
    }
}

@media (max-width: 576px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        line-height: 50px;
        bottom: 80px;
        right: 15px;
    }
}

/* ===== Footer Responsive ===== */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 15px;
        text-align: center;
    }

    .footer h5:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer .footer-contact li {
        justify-content: center;
    }

    .footer .social-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer .social-links a {
        margin: 0 5px 8px;
    }

    .footer .footer-links li a:hover {
        padding-left: 0;
    }

    .footer .footer-links li a:before {
        display: none;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-carousel .carousel-item {
        min-height: 450px;
    }

    .hero-carousel .carousel-caption h1 {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        text-align: center;
    }

    .top-bar .text-end {
        text-align: center !important;
        margin-top: 5px;
    }

    .hero-carousel .carousel-item {
        min-height: 350px;
    }

    .hero-carousel .carousel-caption h1 {
        font-size: 26px;
    }

    .hero-carousel .carousel-caption p {
        font-size: 15px;
    }

    .section-padding {
        padding: 40px 0;
    }

    .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;
    }
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #ffffff;
    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: whatsappPulse 2s infinite;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    color: #ffffff;
    background: #1ebe5c;
}

.whatsapp-float i {
    font-size: 35px;
}

/* ===== WhatsApp Pulse Animation ===== */
@keyframes whatsappPulse {
    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);
    }
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        line-height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float i {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        line-height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float i {
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    /* .hero-carousel .carousel-item {
        min-height: 280px;
    }

    .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;
    }

    .page-header {
        padding: 30px 0 20px;
    }
}