/* Modern Pages Design */

/* Hero Section for Home Page */
.hero-section {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: #ffffff;
    padding: 4rem 0;
    margin: -1rem -15px 3rem -15px;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hero-content {
    text-align: center;
    padding: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #ffffff;
    color: #17a2b8;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    color: #138496;
}

/* About Cards */
.about-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #17a2b8;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.about-card h5 {
    color: #17a2b8;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.about-card p {
    color: #555;
    line-height: 1.8;
}

.about-image-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 2rem;
}

.about-image-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.about-image-container:hover img {
    transform: scale(1.05);
}

/* Weblog/Posts Section */
.page-header {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-header h3 {
    margin: 0;
    font-weight: 700;
    font-size: 2rem;
}

.post-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(23, 162, 184, 0.1);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #17a2b8;
}

.post-card h5 {
    color: #17a2b8;
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.post-card small {
    color: #888;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

.post-card p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.post-card img {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.post-card:hover img {
    transform: scale(1.02);
}

/* Featured Post */
.featured-post {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.1) 0%, rgba(19, 132, 150, 0.05) 100%);
    border: 2px solid #17a2b8;
    position: relative;
}

.featured-post::before {
    content: 'Featured';
    position: absolute;
    top: -12px;
    left: 20px;
    background: #17a2b8;
    color: #ffffff;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Carousel Styling */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(23, 162, 184, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 15px;
}

.carousel-control-next {
    right: 15px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: #17a2b8;
}

.carousel-inner {
    border-radius: 12px;
    overflow: hidden;
}

/* Read More Button */
.btn-read-more {
    background: #17a2b8;
    color: #ffffff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

.btn-read-more:hover {
    background: #138496;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(23, 162, 184, 0.4);
}

/* Content Container */
.content-container {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Section Divider */
.section-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, #17a2b8, transparent);
    margin: 3rem 0;
    border-radius: 2px;
}

/* Membership Cards */
.membership-card {
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.membership-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1rem;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.membership-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.membership-title {
    margin-bottom: 1rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.membership-link {
    color: #17a2b8;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.membership-link:hover {
    color: #138496;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-section {
        padding: 2rem 0;
        margin: -1rem -15px 2rem -15px;
    }
    
    .post-card {
        padding: 1.5rem;
    }
    
    .page-header h3 {
        font-size: 1.5rem;
    }
}

/* Member Profile Page Styles */
.member-profile-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid rgba(23, 162, 184, 0.1);
}

.member-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    border-color: #17a2b8;
}

.member-logo-container {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-bottom: 3px solid #17a2b8;
}

.member-logo-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.member-card-body {
    padding: 2rem;
    text-align: center;
}

.member-company-name {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.member-badge-container {
    margin-top: 1rem;
}

.member-status-badge {
    display: inline-block;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.member-status-badge i {
    margin-right: 0.3rem;
}

/* Contact Information Card */
.member-contact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    margin-top: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 2px solid rgba(23, 162, 184, 0.1);
    transition: all 0.3s ease;
}

.member-contact-card:hover {
    border-color: #17a2b8;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.contact-card-title {
    color: #17a2b8;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.contact-card-title i {
    margin-right: 0.5rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: #17a2b8;
    text-decoration: none;
}

/* About Card */
.member-about-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 2px solid rgba(23, 162, 184, 0.1);
    transition: all 0.3s ease;
    min-height: 400px;
}

.member-about-card:hover {
    border-color: #17a2b8;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.about-card-title {
    color: #17a2b8;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #e9ecef;
}

.about-card-title i {
    margin-right: 0.5rem;
}

.about-card-content {
    padding: 1rem 0;
}

.about-text {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.9;
    text-align: justify;
}

/* Member Actions */
.member-actions {
    margin-top: 1.5rem;
}

.btn-back-to-members {
    display: inline-block;
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(23, 162, 184, 0.3);
}

.btn-back-to-members:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(23, 162, 184, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.btn-back-to-members i {
    margin-right: 0.5rem;
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.7rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .about-card {
        padding: 1.5rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .member-profile-card,
    .member-contact-card,
    .member-about-card {
        padding: 1.5rem;
    }
    
    .member-logo-container {
        height: 220px;
        padding: 1.5rem;
    }
    
    .about-card-title {
        font-size: 1.4rem;
    }
    
    .member-company-name {
        font-size: 1.3rem;
    }
    
    .contact-info-item {
        padding: 0.8rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}
