/* Custom Styles for InteliMed Bootstrap */

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc; /* Similar to slate-50 */
    color: #4b5563; /* Default text color - gray-600 */
}

/* --- Utilities & Base --- */
.gradient-text {
    background: linear-gradient(to right, #14b8a6, #34d399); /* teal-500 to green-400 */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* text-fill-color: transparent; /* Removed for broader compatibility, check if needed */
}

.text-teal {
    color: #14b8a6 !important; /* teal-500 */
}

.text-green-500 {
    color: #22c55e !important;
}

.section-title {
    font-size: calc(1.5rem + 1.8vw); /* Responsive font size */
    line-height: 1.3;
    font-weight: 800; /* Extra bold for impact */
    color: #1f2937; /* gray-800 */
}

@media (min-width: 992px) {
    .section-title {
        font-size: 3rem; /* 5xl on md */
    }
}

/* --- Header --- */
.navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-brand .logo-icon-wrapper {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2dd4bf, #34d399); /* teal-400 to green-400 */
    border-radius: 0.6rem; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo-icon-wrapper {
    transform: rotate(-10deg) scale(1.1);
}

.btn-teal {
    background-color: #14b8a6; /* teal-500 */
    color: white;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-teal:hover {
    background-color: #0d9488; /* teal-600 */
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 148, 136, 0.3);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.nav-link {
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link:hover, .nav-link.active {
    color: #14b8a6 !important; /* teal-500 */
}

/* --- Hero Section --- */
.hero-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: linear-gradient(160deg, #f8fafc, #e0f2fe 60%, #ccfbf1 100%); /* slate-50 to blue-50 with a hint of teal */
    overflow: hidden; /* Prevent shield overflow issues */
}

.hero-title {
    font-size: calc(1.8rem + 2.5vw); /* Responsive font size */
    line-height: 1.2;
    font-weight: 800; /* Extra bold */
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 3.75rem; /* 6xl on md */
    }
}

.hero-image-wrapper {
    background: linear-gradient(145deg, #ede9fe, #a7f3d0, #bbf7d0); /* purple-100 via teal-100 to green-100 */
    border-radius: 1.5rem; /* rounded-3xl */
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.1), 0 0.5rem 1rem rgba(0,0,0,0.05); /* Enhanced shadow */
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3; /* Maintain aspect ratio */
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-out;
}

.hero-image-wrapper:hover img {
    transform: scale(1.03);
}

.hero-shield-icon {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    width: 4rem;
    height: 4rem;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-shield-icon:hover {
    transform: scale(1.1);
}

.hero-shield-icon i {
    color: #14b8a6; /* teal-500 */
    font-size: 2rem;
}

@media (min-width: 576px) {
    .hero-shield-icon {
        bottom: -1.5rem;
        right: -1.5rem;
        width: 6rem;
        height: 6rem;
    }
    .hero-shield-icon i {
        font-size: 3rem;
    }
}

.btn-gradient {
    background: linear-gradient(to right, #14b8a6, #34d399); /* teal-500 to green-400 */
    color: white;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-gradient:hover {
    background: linear-gradient(to right, #0d9488, #15803d); /* teal-600 to green-500 */
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(20, 184, 166, 0.4); /* Enhanced hover shadow */
}

.btn-outline-purple {
    border-width: 2px !important;
    border-color: #d8b4fe !important; /* purple-300 */
    color: #9333ea !important; /* purple-600 */
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-purple:hover {
    background-color: #f5f3ff !important; /* purple-50 */
    border-color: #c084fc !important;
    color: #9333ea !important;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(233, 213, 255, 0.7); /* shadow-purple-200 approximation */
}

/* --- About Section --- */
.about-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background: linear-gradient(160deg, white, #f3e8ff 50%, white); /* white via purple-50 to white */
}

.feature-icon-wrapper {
    width: 4.5rem; /* Slightly larger */
    height: 4.5rem;
    background: linear-gradient(135deg, #2dd4bf, #34d399); /* teal-400 to green-400 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 16px rgba(233, 213, 255, 0.6); /* shadow-purple-200 approximation */
}

.feature-item:hover .feature-icon-wrapper {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 24px rgba(233, 213, 255, 0.8);
}

.feature-icon-wrapper i {
    font-size: 2rem; /* Larger icon */
    color: white;
}

.feature-title {
    font-weight: 600; /* semibold */
    color: #374151; /* gray-800 */
    font-size: 1.05rem;
}

.feature-item p {
    font-size: 0.9rem;
}

/* --- Solutions Section --- */
.solutions-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background: linear-gradient(160deg, #f8fafc, #e0f2fe 60%, #ccfbf1 100%); /* slate-50 to blue-50 */
}

.solution-card {
    border-radius: 1.5rem !important; /* rounded-3xl */
    border: 1px solid #e0f2fe !important; /* Lighter border */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07); /* Softer shadow */
    transition: all 0.3s ease;
    overflow: hidden;
    background-color: white;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(233, 213, 255, 0.5); /* hover:shadow-xl hover:shadow-purple-200 */
}

.solution-card .card-img-top-wrapper {
    height: 12rem; /* h-48 */
    overflow: hidden;
}

.solution-card .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.solution-card:hover .card-img-top {
    transform: scale(1.05);
}

.solution-icon-wrapper {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #2dd4bf, #34d399); /* teal-400 to green-400 */
    border-radius: 1rem; /* rounded-2xl */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 16px rgba(233, 213, 255, 0.6); /* shadow-purple-200 approximation */
}

.solution-card:hover .solution-icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 24px rgba(233, 213, 255, 0.8);
}

.solution-icon-wrapper i {
    font-size: 1.75rem;
    color: white;
}

.solution-card .card-title {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700;
    color: #1f2937; /* gray-800 */
}

.solution-card .card-subtitle {
    color: #0d9488; /* teal-600 */
    font-weight: 500;
}

.solution-card .list-unstyled li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.solution-card .list-unstyled i {
    color: #22c55e; /* green-500 */
    margin-right: 0.75rem;
    margin-top: 0.2rem; /* Adjusted alignment */
    flex-shrink: 0;
}

.solution-card .list-unstyled span {
    color: #4b5563; /* gray-600 */
    line-height: 1.6;
}

/* --- CTA Final Section --- */
.cta-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background: linear-gradient(100deg, #14b8a6, #34d399); /* teal-500 to green-400 */
    color: white;
}

.cta-title {
    font-size: calc(1.5rem + 1.8vw); /* Responsive font size */
    line-height: 1.3;
    font-weight: 800;
}

@media (min-width: 992px) {
    .cta-title {
        font-size: 3rem; /* 5xl on md */
    }
}

.cta-text {
    color: #ccfbf1; /* teal-50 */
    font-size: 1.125rem; /* text-xl */
    line-height: 1.7;
    opacity: 0.9;
}

.btn-cta {
    background-color: white;
    color: #0d9488; /* teal-600 */
    font-weight: 700; /* Bolder */
    transition: all 0.3s ease;
    padding: 0.9rem 2.5rem; /* Larger padding */
    box-shadow: 0 5px 15px rgba(0,0,0, 0.1);
}

.btn-cta:hover {
    background-color: #f9fafb; /* gray-50 */
    color: #0d9488;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(233, 213, 255, 0.7); /* hover:shadow-purple-200 */
}

/* --- Mobile Floating Button --- */
.mobile-fab {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1030;
    background: linear-gradient(135deg, #a855f7, #9333ea); /* purple-500 to purple-600 */
    color: white;
    border-radius: 50%;
    width: 60px; /* Slightly larger */
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.5);
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.mobile-fab:hover {
    background: linear-gradient(135deg, #9333ea, #7e22ce); /* purple-600 to purple-700 */
    color: white;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.7);
}

.mobile-fab i {
    font-size: 1.7rem; 
}

/* --- Footer --- */
.footer {
    background-color: #1f2937; /* gray-800 */
    color: #9ca3af; /* gray-500 */
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer .navbar-brand .logo-icon-wrapper {
    background: linear-gradient(135deg, #2dd4bf, #34d399); /* teal-400 to green-400 */
}

.footer .navbar-brand .text-secondary {
    color: #d1d5db !important; /* gray-300 */
}

.footer .navbar-brand .text-teal {
    color: #5eead4 !important; /* teal-400 */
}

.footer-text {
    color: #9ca3af; /* gray-400 */
    font-size: 0.95rem;
}

.footer-contact-highlight {
    color: #c4b5fd; /* purple-300 */
    font-weight: 500;
}

.footer h5 {
    color: #e5e7eb; /* gray-200 */
    font-weight: 600;
    margin-bottom: 1.2rem !important;
}

.footer .list-unstyled a {
    color: #9ca3af; /* gray-400 */
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer .list-unstyled a:hover {
    color: #c4b5fd; /* purple-300 */
    padding-left: 5px;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.social-icon i {
    font-size: 1.5rem;
}

.social-icon-instagram {
    background: linear-gradient(135deg, #a855f7, #d946ef); /* purple-500 to fuchsia-500 */
}

.social-icon-whatsapp {
    background: linear-gradient(135deg, #22c55e, #4ade80); /* green-500 to green-400 */
}

.social-icon-linkedin {
    background: linear-gradient(135deg, #3b82f6, #60a5fa); /* blue-500 to blue-400 */
}

.footer .form-control {
    background-color: #374151; /* gray-700 */
    border-color: #4b5563; /* gray-600 */
    color: #e5e7eb;
}

.footer .form-control::placeholder {
    color: #9ca3af;
}

.footer .form-control:focus {
    background-color: #4b5563;
    border-color: #5eead4; /* teal-400 */
    color: white;
    box-shadow: none;
}

.footer-bottom {
    border-top: 1px solid #374151; /* gray-700 */
    padding-top: 1.5rem;
    margin-top: 2.5rem;
    color: #9ca3af; /* gray-500 */
    font-size: 0.85rem;
}




/* --- Header Logo --- */
.navbar-brand .navbar-logo {
    height: 40px; /* Adjust height as needed */
    width: auto;  /* Maintain aspect ratio */
    object-fit: contain; /* Ensure logo fits well */
    vertical-align: middle; /* Align vertically */
}

/* --- Footer Logo --- */
.footer .navbar-brand .navbar-logo {
    height: 35px; /* Slightly smaller for footer */
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

