/* CiscoSans Font Family */

@font-face {
    font-family: 'CiscoSans';
    src: url('../fonts/CiscoSansTTRegular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'CiscoSans';
    src: url('../fonts/CiscoSansTTLight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'CiscoSans';
    src: url('../fonts/CiscoSansTTMedium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'CiscoSans';
    src: url('../fonts/CiscoSansTTBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}


/* Apply CiscoSans to all elements except FontAwesome icons */

*:not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not(.fad):not([class*="fa-"]) {
    font-family: 'CiscoSans', -apple-system, BlinkMacSystemFont !important;
}


/* Ensure FontAwesome icons use their proper font */

.fa,
.fas,
.far,
.fab,
.fal,
.fad,
[class*="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent !important;
}

.navbar .nav-link {
    color: white !important;
}

.navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.video-banner {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.video-banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}


/* Agenda Styles */

.agenda-selector {
    margin-bottom: 40px;
}

.agenda-selector .btn-group {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.agenda-selector .btn {
    border: none;
    font-weight: 600;
    padding: 15px 30px;
    transition: all 0.3s ease;
}

.agenda-selector .btn-outline-primary {
    color: #666;
    background: white;
    border-color: transparent;
}

.agenda-selector .btn-check:checked + .btn-outline-primary {
    background-color: #05935b;
    border-color: #05935b;
    color: white;
    transform: scale(1.02);
}

.agenda-selector .btn:hover {
    transform: translateY(-2px);
}

.agenda-timeline {
    position: relative;
}

.agenda-item {
    border-left: 4px solid #05935b;
    padding-left: 25px;
    margin-bottom: 30px;
    position: relative;
    background: white;
    padding: 20px 20px 20px 35px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agenda-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.agenda-item:before {
    content: '';
    position: absolute;
    left: -8px;
    top: 25px;
    width: 14px;
    height: 14px;
    background-color: #05935b;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #05935b;
}

.agenda-time {
    font-weight: 700;
    color: #05935b;
    font-size: 15px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.agenda-session {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}

.agenda-content {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Add padding to content sections to account for absolute navbar */

.py-5 {
    padding-top: 4rem !important;
}


/* Speakers Section */

.speaker-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.speaker-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.speaker-card:hover .speaker-image img {
    transform: scale(1.05);
}

.speaker-info {
    text-align: left;
}

.speaker-name {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.speaker-title {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 0;
}

.speaker-arrow {
    color: #05935b;
    font-size: 18px;
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.speaker-card:hover .speaker-arrow {
    opacity: 1;
    transform: translateX(5px);
}

.speaker-card {
    cursor: pointer;
}

/* Speaker Modal Styles */
.speaker-modal-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.speaker-modal-info h3 {
    color: #333;
    font-weight: 700;
}

.speaker-modal-info h5 {
    color: #05935b;
    font-weight: 500;
}

.speaker-modal-info h6 {
    color: #333;
    font-weight: 600;
}

.modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

.modal-header {
    padding: 15px 20px 0;
}

.modal-body {
    padding: 20px 30px 40px;
}

@media (max-width: 768px) {
    .modal-body {
        padding: 20px;
    }
    
    .speaker-modal-image {
        text-align: center;
        margin-bottom: 20px;
    }
}

/* Venue Section Styles */
.venue-info {
    padding: 20px;
}

.venue-detail-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #05935b;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.venue-detail-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.venue-detail-item h5 {
    color: #333;
    font-weight: 600;
}

.venue-detail-item .text-muted {
    line-height: 1.6;
}

.venue-feature {
    padding: 30px 20px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.venue-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.venue-feature .feature-icon {
    transition: transform 0.3s ease;
}

.venue-feature:hover .feature-icon {
    transform: scale(1.1);
}

.venue-map {
    position: relative;
}

.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.map-links .btn {
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.map-links .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#venue {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Leaflet Map Custom Styling */
.leaflet-container {
    font-family: 'CiscoSans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.leaflet-popup-content-wrapper {
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    border: none !important;
}

.leaflet-popup-tip {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}

.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
}

.leaflet-control-zoom a {
    background: white !important;
    color: #05935b !important;
    border: none !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
}

.leaflet-control-zoom a:hover {
    background: #05935b !important;
    color: white !important;
}

.leaflet-control-scale-line {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid #05935b !important;
    border-radius: 5px !important;
    padding: 2px 5px !important;
    font-weight: 500 !important;
    color: #05935b !important;
}

.custom-marker {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.leaflet-popup-close-button {
    color: #666 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    padding: 5px !important;
}

.leaflet-popup-close-button:hover {
    color: #05935b !important;
}

/* Responsive map styling */
@media (max-width: 768px) {
    .leaflet-control-zoom {
        transform: scale(0.9);
    }
    
    .leaflet-popup-content-wrapper {
        max-width: 250px !important;
    }
}

@media (max-width: 768px) {
    .venue-detail-item {
        margin-bottom: 20px;
    }
    
    .venue-feature {
        margin-bottom: 30px;
    }
    
    .map-links .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .map-links .btn:last-child {
        margin-bottom: 0;
    }
}

footer {
    background-color: #343a40;
    color: white;
}