/*
    LENUS Research - Modern Design Improvements
    Keeps original green theme (#005427) with modern enhancements
*/

/* ========================================
   MODERN TYPOGRAPHY & SPACING
   ======================================== */

body {
    letter-spacing: 0.3px;
    font-size: 15px;
    line-height: 1.7;
}

h2, h3, h4 {
    letter-spacing: -0.5px;
    font-weight: 600;
}

.lead {
    font-size: 15px;
    line-height: 1.8;
    font-weight: 400;
}

/* ========================================
   NAVIGATION - MINIMAL CHANGES
   ======================================== */

/* Remove dropdown arrows only */
.navbar-nav > li > a > i.fa-angle-down {
    display: none;
}

/* ========================================
   HERO SLIDER IMPROVEMENTS
   ======================================== */

.Ken-burns-heading {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    letter-spacing: -1px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* ========================================
   ABOUT SECTION - MODERN CARD STYLE
   ======================================== */

.intro-text {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.intro-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #005427 0%, #007a3d 100%);
}

.intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.intro-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #005427;
    margin: 15px auto 0;
    border-radius: 2px;
}

.intro-text .lead {
    max-width: 900px;
    margin: 0 auto 25px;
    padding: 0 15px;
    color: #495057;
}

.intro-text .btn {
    margin-top: 20px;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid #212529;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.intro-text .btn:hover {
    background: #005427;
    border-color: #005427;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 84, 39, 0.3);
}

/* ========================================
   SERVICES BOXES - MINIMAL REDESIGN
   ======================================== */

.services-wrap {
    padding: 80px 0;
    background: white;
}

.services-wrap .row {
    display: flex;
    flex-wrap: wrap;
}

/* Make all columns equal height on medium screens and up */
@media (min-width: 768px) {
    .services-wrap .row > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }
}

.services-box-info{
    padding:0px;
}

.services-box {
    background: white;
    border-radius: 12px;
    padding: 40px 25px;
    transition: all 0.4s ease;
    border: 1px solid #e9ecef;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.services-box:hover {
    transform: translateY(-8px);
    border-color: #005427;
}

/* Hide icons */
.services-box-icon {
    display: none;
}

/* Keep original font sizes - no custom sizing */
.services-box-info h4 {
    color: #212529;
    margin-bottom: 15px;
    font-weight: 700;
}

.services-box-info p {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 0;
    flex-grow: 1;
}

/* ========================================
   CENTER HEADINGS - MODERN STYLE
   ======================================== */

.center-heading {
    margin-bottom: 60px;
}

.center-heading h2,
.center-heading h4 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #212529;
}

.center-line {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #005427 0%, #007a3d 100%);
    display: block;
    margin: 0 auto;
    border-radius: 2px;
}

/* ========================================
   RSVP ALERT BOX - MODERN CARD
   ======================================== */

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: none;
    border-radius: 12px;
    border-left: 5px solid #005427;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 84, 39, 0.1);
}

.alert-success img {
    max-width: 250px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* ========================================
   THERAPEUTIC DIVISIONS - MODERN PILLS
   ======================================== */

.therapeutic-divisions-list {
    padding: 20px 0;
}

.therapeutic-divisions-list li {
    border: 2px solid #e9ecef;
    border-radius: 25px;
    padding: 12px 24px;
    margin: 8px 10px;
    background: white;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
}

.therapeutic-divisions-list li:hover {
    border-color: #005427;
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 84, 39, 0.1);
}

/* ========================================
   VOLUNTEERS SECTION
   ======================================== */

.portfolio {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.portfolio iframe {
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #dee2e6;
}

.portfolio .alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border: none;
    border-radius: 12px;
    border-left: 5px solid #17a2b8;
    margin-top: 30px;
    padding: 20px 25px;
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.1);
}

/* ========================================
   STAFF SECTION - MODERN CARDS
   ======================================== */

.our-team-v-2 {
    padding: 80px 0;
}

.person-v2 {
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 12px;
    background: white;
    margin-bottom: 20px;
}

.person-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.person-v2 img {
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.person-desc-v2 h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #212529;
    line-height: 1.4;
}

.person-desc-v2 em {
    color: #6c757d;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 15px;
}

.person-desc-v2 .top-social li a {
    background: #f8f9fa;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}

.person-desc-v2 .top-social li a:hover {
    background: #005427;
    color: white;
    transform: scale(1.1);
}

/* ========================================
   FACILITY GALLERY - MODERN GRID WITH UNIFORM SIZING
   ======================================== */

#clients-carousel {
    padding: 80px 0;
    background: white;
}

.item-img-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    height: 250px; /* Fixed height for all images */
    background: #f8f9fa;
}

.item-img-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.item-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crop to fill the container */
    object-position: center; /* Center the image */
    transition: transform 0.5s ease;
}

.item-img-wrap:hover img {
    transform: scale(1.05);
}

.item-img-overlay {
    border-radius: 12px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

section {
    padding: 60px 0;
}

.contact-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid #005427;
}

.contact-info li {
    padding: 12px 0;
}

.contact-info strong {
    color: #005427;
}

/* ========================================
   FOOTER - MODERN DESIGN
   ======================================== */

#footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 60px 0 30px;
    color: #b0b0b0;
}

.footer-col h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-col p,
.footer-col li {
    color: #b0b0b0;
}

.footer-col .social-1 li a {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    line-height: 45px;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-col .social-1 li a:hover {
    background: #005427;
    transform: translateY(-3px);
}

.footer-btm {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #808080;
}

/* ========================================
   UTILITY SPACING
   ======================================== */

.margin20 {
    margin-bottom: 30px;
}

.margin30 {
    margin-bottom: 40px;
}

.divide30 {
    height: 30px;
}

.divide40 {
    height: 40px;
}

.divide60 {
    height: 60px;
}

/* ========================================
   RESPONSIVE IMPROVEMENTS
   ======================================== */

@media (max-width: 768px) {
    .Ken-burns-heading {
        font-size: 2rem !important;
    }

    .center-heading h2,
    .center-heading h4 {
        font-size: 1.8rem;
    }

    .intro-text h2 {
        font-size: 2rem;
    }

    .services-box {
        margin-bottom: 30px;
    }

    .person-v2 {
        margin-bottom: 30px;
    }
}

/* ========================================
   SMOOTH SCROLLING
   ======================================== */

html {
    scroll-behavior: smooth;
}

/* ========================================
   SUBTLE ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-box,
.person-v2 {
    animation: fadeInUp 0.6s ease-out;
}
