/* ===================================
   Home Index Page Styles
   =================================== */

/* ***** Banner Slider Styles ***** */
.modern-banner-slider {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    background: #ffffff;
}

    .modern-banner-slider .carousel {
        width: 100%;
        height: 100%;
    }

    .modern-banner-slider .carousel-inner {
        width: 100%;
        height: 100%;
    }

    .modern-banner-slider .carousel-item {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #ffffff;
    }

/* Slide Media (Video & Image) */
.slide-video,
.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Overlay Styles */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.slide-overlay-1 {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(248, 249, 250, 0.6) 50%, rgba(245, 164, 37, 0.05) 100%);
}

.slide-overlay-2 {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.7) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(0, 123, 255, 0.05) 100%);
}

.slide-overlay-3 {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(248, 249, 250, 0.6) 50%, rgba(40, 167, 69, 0.05) 100%);
}

/* Floating Elements Animation */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(245, 164, 37, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

    .floating-element:nth-child(1) {
        top: 20%;
        left: 10%;
        animation-delay: 0s;
    }

    .floating-element:nth-child(2) {
        top: 60%;
        right: 15%;
        animation-delay: 2s;
    }

    .floating-element:nth-child(3) {
        bottom: 30%;
        left: 20%;
        animation-delay: 4s;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Carousel Caption */
.carousel-caption.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    color: #333333;
    max-width: 800px;
    padding: 40px 20px;
    width: 90%;
}

.slide-content h6 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #666666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #333333;
    font-weight: 800;
    line-height: 1.2;
}

    .slide-content h1 em {
        color: #8DC6D8;
        font-style: normal;
    }

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #666666;
    line-height: 1.5;
}

/* CTA Button */
.modern-cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, #8DC6D8, #8DC6D8);
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

    .modern-cta-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(245, 164, 37, 0.4);
        color: #ffffff;
        text-decoration: none;
    }

/* Carousel Indicators */
.carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
    z-index: 15;
}

    .carousel-indicators li {
        width: 12px;
        height: 12px;
        background-color: rgba(51, 51, 51, 0.3);
        border: 2px solid rgba(51, 51, 51, 0.5);
        border-radius: 50%;
        margin: 0 6px;
        transition: all 0.3s ease;
    }

    .carousel-indicators .active {
        background-color: #8DC6D8;
        border-color: #8DC6D8;
        transform: scale(1.2);
    }

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 15;
    opacity: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    position: absolute;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        background: #ffffff;
        transform: translateY(-50%) scale(1.1);
        text-decoration: none;
        opacity: 1;
        color: inherit;
    }

    .carousel-control-prev:focus,
    .carousel-control-next:focus {
        background: #ffffff;
        opacity: 1;
        outline: 2px solid #8DC6D8;
        outline-offset: 2px;
        color: inherit;
    }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23f5a425' viewBox='0 0 8 8'%3e%3cpath d='m5.25 0-.75.75L1.75 3.5 4.5 6.25l.75-.75L2.75 3 5.25 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23f5a425' viewBox='0 0 8 8'%3e%3cpath d='m2.75 0-.75.75L4.75 3 2 5.25l.75.75L6.25 3.5 2.75 0z'/%3e%3c/svg%3e");
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* ***** Events Section Styles ***** */
.events.modern-events {
    background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
    padding: 80px 0;
}

.event-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

    .event-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

.featured-event {
    border: 2px solid #8DC6D8;
}

.event-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #8DC6D8, #8DC6D8);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

.event-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.event-thumbnail,
.event-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
}

.event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 20px 15px 15px;
    color: #ffffff;
}

.event-type {
    background: rgba(255, 255, 255, 0.9);
    color: #333333;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

    .event-type.course {
        background: rgba(245, 164, 37, 0.9);
        color: #ffffff;
    }

    .event-type.webinar {
        background: rgba(0, 123, 255, 0.9);
        color: #ffffff;
    }

    .event-type.workshop {
        background: rgba(220, 53, 69, 0.9);
        color: #ffffff;
    }

    .event-type.networking {
        background: rgba(40, 167, 69, 0.9);
        color: #ffffff;
    }

    .event-type.seminar {
        background: rgba(23, 162, 184, 0.9);
        color: #ffffff;
    }

.event-content {
    padding: 20px;
}

.event-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #666666;
}

    .event-meta div {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .event-meta i {
        color: #8DC6D8;
    }

.event-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.event-excerpt {
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.event-location {
    font-size: 0.85rem;
    color: #888888;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .event-location i {
        color: #dc3545;
    }

.event-attendees {
    margin-bottom: 20px;
}

.attendee-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.attendee-count {
    font-weight: 600;
    color: #333333;
}

.attendee-label {
    color: #666666;
}

.progress {
    height: 6px;
    border-radius: 3px;
    background: #e9ecef;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.event-actions {
    margin-top: auto;
}

.event-cta-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    background: linear-gradient(45deg, #8DC6D8, #8DC6D8);
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .event-cta-button:hover {
        background: linear-gradient(45deg, #e6941f, #e0a800);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(245, 164, 37, 0.4);
        color: #ffffff;
        text-decoration: none;
    }

.event-navigation {
    text-align: center;
    padding: 40px 0;
}

    .event-navigation .modern-cta-button {
        font-size: 1.1rem;
        padding: 15px 30px;
    }

/* ***** Event Details Modal Styles ***** */
#eventDetailsModal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

#eventDetailsModal .modal-header {
    background: linear-gradient(135deg, #8DC6D8 0%, #7bb3c7 100%);
    color: white;
    border-radius: 20px 20px 0 0;
    padding: 1.5rem 2rem;
    border: none;
}

#eventDetailsModal .modal-title {
    font-weight: 700;
    font-size: 1.4rem;
}

#eventDetailsModal .modal-body {
    padding: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

#eventDetailsModal .modal-footer {
    border: none;
    padding: 1rem 2rem 2rem;
    justify-content: space-between;
}

#eventDetailsModal .close {
    font-size: 2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: none;
    opacity: 1;
    transition: all 0.3s ease;
}

    #eventDetailsModal .close:hover {
        color: white;
        opacity: 1;
        transform: scale(1.1);
    }

#eventDetailsModal .btn {
    border-radius: 25px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    #eventDetailsModal .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

#eventDetailsModal .btn-primary {
    background: linear-gradient(135deg, #8DC6D8 0%, #7bb3c7 100%);
    border: none;
}

    #eventDetailsModal .btn-primary:hover {
        background: linear-gradient(135deg, #7bb3c7 0%, #6ba2b5 100%);
    }

#eventDetailsModal .btn-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    border: none;
}

    #eventDetailsModal .btn-success:hover {
        background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
    }

#eventDetailsModal .btn-secondary {
    background: #6c757d;
    border: none;
}

    #eventDetailsModal .btn-secondary:hover {
        background: #5a6268;
    }

/* Modal Animation */
#eventDetailsModal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: scale(0.8);
}

#eventDetailsModal.show .modal-dialog {
    transform: scale(1);
}

/* ***** Responsive Design ***** */
@media (max-width: 992px) {
    .company-header {
        flex-direction: column;
        text-align: center;
    }

    .company-logo {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .company-actions {
        flex-direction: column;
    }

    .contact-button {
        min-width: auto;
    }

    .location-highlights {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .company-certifications {
        padding: 25px 20px;
    }

    .certifications-showcase {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .company-certifications h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .contact-button {
        font-size: 0.8rem;
        padding: 10px 15px;
    }

    .location-highlights {
        flex-direction: column;
        align-items: center;
    }

    .highlight-item {
        margin-bottom: 10px;
    }
}

/* ***** Company Profile Section Styles ***** */
.company-profile.modern-company-profile {
    background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
    padding: 80px 0;
}

.company-info-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}

    .company-info-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    }

.company-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #8DC6D8;
}

.company-logo {
    margin-right: 20px;
}

.logo-img {
    width: 80px;
    height: auto;
    border-radius: 10px;
}

.company-title h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #333333;
}

.company-tagline {
    margin: 5px 0 0 0;
    color: #666666;
    font-style: italic;
}

.company-details {
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .detail-item:hover {
        background: rgba(141, 198, 216, 0.05);
        transform: translateX(5px);
    }

.detail-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #8DC6D8, #7bb3c7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

    .detail-icon i {
        color: #ffffff;
        font-size: 1.2rem;
    }

.detail-content h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
}

.detail-content p {
    margin: 0;
    color: #666666;
    line-height: 1.5;
}

.detail-content a {
    color: #8DC6D8;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .detail-content a:hover {
        color: #7bb3c7;
        text-decoration: underline;
    }

.company-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-button {
    flex: 1;
    min-width: 120px;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.phone-btn {
    background: linear-gradient(45deg, #28a745, #34ce57);
    color: #ffffff;
}

    .phone-btn:hover {
        background: linear-gradient(45deg, #218838, #28a745);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
        color: #ffffff;
        text-decoration: none;
    }

.email-btn {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: #ffffff;
}

    .email-btn:hover {
        background: linear-gradient(45deg, #0056b3, #004085);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
        color: #ffffff;
        text-decoration: none;
    }

.location-btn {
    background: linear-gradient(45deg, #8DC6D8, #7bb3c7);
    color: #ffffff;
}

    .location-btn:hover {
        background: linear-gradient(45deg, #7bb3c7, #6ca4b8);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(141, 198, 216, 0.4);
        color: #ffffff;
        text-decoration: none;
    }

.map-container-profile {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.map-header {
    padding: 25px 30px;
    background: linear-gradient(45deg, #8DC6D8, #7bb3c7);
    color: #ffffff;
}

    .map-header h4 {
        margin: 0 0 8px 0;
        font-size: 1.4rem;
        font-weight: 700;
    }

        .map-header h4 i {
            margin-right: 10px;
        }

    .map-header p {
        margin: 0;
        opacity: 0.9;
    }

.map-wrapper {
    padding: 0;
    height: 450px;
}

    .map-wrapper iframe {
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 0;
    }

.map-footer {
    padding: 20px 30px;
    background: #f8f9fa;
}

.location-highlights {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666666;
    font-size: 0.9rem;
    font-weight: 500;
}

    .highlight-item i {
        color: #8DC6D8;
        font-size: 1rem;
    }

.company-overview {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

    .company-overview h3 {
        margin-bottom: 25px;
        font-size: 2rem;
        font-weight: 700;
        color: #333333;
        text-align: center;
    }

.overview-content .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: #555555;
    margin-bottom: 20px;
}

.overview-content p {
    color: #666666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.company-stats {
    background: linear-gradient(135deg, #8DC6D8, #7bb3c7);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
}

.stat-item {
    margin-bottom: 20px;
}

    .stat-item:last-child {
        margin-bottom: 0;
    }

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .company-header {
        flex-direction: column;
        text-align: center;
    }

    .company-logo {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .company-actions {
        flex-direction: column;
    }

    .contact-button {
        min-width: auto;
    }

    .location-highlights {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .company-certifications {
        padding: 25px 20px;
    }

    .certifications-showcase {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .company-certifications h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .contact-button {
        font-size: 0.8rem;
        padding: 10px 15px;
    }

    .location-highlights {
        flex-direction: column;
        align-items: center;
    }

    .highlight-item {
        margin-bottom: 10px;
    }
}
