/* Related Links Widget Styling - Transparent Background */
.related-links-widget {
    background: transparent;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.related-links-widget:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.related-links-title {
    position: relative;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 25px !important;
}

.related-links-title i {
    color: #3498db;
    font-size: 18px;
}

.related-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-link-item {
    margin-bottom: 12px;
    position: relative;
}

.related-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-decoration: none;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.related-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.2), transparent);
    transition: left 0.5s ease;
}

.related-link:hover::before {
    left: 100%;
}

.related-link:hover {
    background: rgba(52, 152, 219, 0.2);
    color: #ffffff !important;
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
    border-color: #3498db;
}

.link-arrow {
    font-size: 12px;
    margin-right: 12px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    transform: translateX(0);
}

.related-link:hover .link-arrow {
    color: #ffffff;
    transform: translateX(5px);
}

.link-text {
    flex: 1;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.related-link:hover .link-text {
    color: #ffffff !important;
}

/* Location Widget Styling - Transparent Background */
.location-widget {
    background: transparent;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.location-widget:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.location-title {
    position: relative;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 10px;
    margin-bottom: 25px !important;
}

.location-title i {
    color: #e74c3c;
    font-size: 18px;
}

.location-content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
}

/* Address Widget Styling - Transparent Background */
.address-widget {
    background: transparent;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.address-widget:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.address-title {
    position: relative;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-bottom: 3px solid #27ae60;
    padding-bottom: 10px;
    margin-bottom: 25px !important;
}

.address-title i {
    color: #27ae60;
    font-size: 18px;
}

.address-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.address-item {
    transition: all 0.3s ease;
}

.address-link {
    display: block;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.address-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(39, 174, 96, 0.2), transparent);
    transition: left 0.5s ease;
}

.address-link:hover::before {
    left: 100%;
}

.address-link:hover {
    background: rgba(39, 174, 96, 0.2);
    color: #ffffff !important;
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
    border-color: #27ae60;
}

.address-icon {
    margin-right: 15px;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    font-size: 16px;
    min-width: 20px;
}

.address-link:hover .address-icon {
    color: #ffffff;
    transform: scale(1.1);
}

.address-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: inherit;
}

.address-link:hover .address-text {
    color: #ffffff !important;
}

/* Company Widget Styling - Transparent Background */
.company-widget {
    background: transparent;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.company-widget:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.company-logo {
    text-align: center;
    transition: all 0.3s ease;
}

.company-logo:hover {
    transform: scale(1.05);
}

.company-logo img {
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.company-logo:hover img {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

.company-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
    text-align: center;
}

.social-media-section {
    text-align: center;
}

.social-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}

.social-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #e74c3c);
    border-radius: 1px;
}

.social-links-list {
    justify-content: center;
    gap: 15px;
}

.social-link-item {
    margin: 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3498db 0%, #e74c3c 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    color: #ffffff !important;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    border-color: #3498db;
}

.social-link span {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.social-link:hover span {
    transform: rotate(360deg) scale(1.2);
}

/* Enhanced hover effects for different social platforms */
.social-link:hover[href*="facebook"] {
    border-color: #1877f2;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.social-link:hover[href*="twitter"] {
    border-color: #1da1f2;
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
}

.social-link:hover[href*="instagram"] {
    border-color: #e4405f;
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.4);
}

.social-link:hover[href*="youtube"] {
    border-color: #ff0000;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

/* Responsive Design for All Widgets */
@media (max-width: 768px) {
    .related-links-widget,
    .location-widget,
    .address-widget,
    .company-widget {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .related-links-title,
    .location-title,
    .address-title {
        font-size: 18px !important;
        margin-bottom: 20px !important;
    }
    
    .related-link,
    .address-link {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .link-arrow {
        font-size: 11px;
        margin-right: 10px;
    }
    
    .address-icon {
        font-size: 14px;
        margin-right: 12px;
    }
    
    .company-widget {
        text-align: center;
    }
    
    .social-links-list {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    /* Force all columns to 100% width on mobile */
    .col-12.col-sm-12.col-md-4.col-lg-2,
    .col-12.col-sm-12.col-md-4.col-lg-3,
    .col-12.col-sm-12.col-md-4.col-lg-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .related-links-widget,
    .location-widget,
    .address-widget,
    .company-widget {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .related-links-title,
    .location-title,
    .address-title {
        font-size: 16px !important;
        text-align: center;
        margin-bottom: 15px !important;
    }
    
    .related-link,
    .address-link {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .address-content {
        gap: 12px;
    }
    
    .social-title {
        font-size: 14px;
    }
    
    .social-links-list {
        gap: 10px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    /* Center align all content on mobile */
    .company-widget,
    .related-links-widget,
    .location-widget,
    .address-widget {
        text-align: center;
    }
    
    /* Adjust spacing for mobile */
    .company-logo,
    .social-media-section {
        margin-bottom: 15px;
    }
    
    .related-links-list,
    .address-content {
        text-align: left;
    }
}

/* Magazine Section Styling */
.magazine-section {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
}

.magazine-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.9) 0%, rgba(42, 82, 152, 0.8) 100%);
    z-index: 1;
}

.magazine-section .container {
    position: relative;
    z-index: 2;
}

.magazine-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.magazine-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.magazine-card:hover::before {
    left: 100%;
}

.magazine-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.magazine-header {
    text-align: center;
    margin-bottom: 25px;
}

.magazine-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 8px 20px rgba(30, 60, 114, 0.3);
    transition: all 0.3s ease;
}

.magazine-card:hover .magazine-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(30, 60, 114, 0.4);
}

.magazine-icon i {
    font-size: 24px;
    color: #ffffff;
}

.magazine-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.magazine-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}

.magazine-carousel {
    position: relative;
}

.magazine-item {
    text-align: center;
}

.magazine-image-container {
    position: relative;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}

.magazine-image-container:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.magazine-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.magazine-image {
    width: 100%;
    height: 280px;
    object-fit: contain;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.magazine-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.magazine-overlay i {
    font-size: 36px;
    color: #ffffff;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.magazine-image-container:hover .magazine-overlay {
    opacity: 1;
}

.magazine-image-container:hover .magazine-overlay i {
    transform: scale(1);
}

.magazine-actions {
    text-align: center;
}

.magazine-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #ffffff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.3);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.magazine-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.magazine-btn:hover::before {
    left: 100%;
}

.magazine-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    text-decoration: none;
}

.magazine-btn i {
    transition: all 0.3s ease;
}

.magazine-btn:hover i {
    transform: translateX(3px);
}

/* Owl Carousel Custom Styling */
.magazine-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
}

/* .magazine-carousel .owl-prev,
.magazine-carousel .owl-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    font-size: 16px !important;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(10px);
} */

/* .magazine-carousel .owl-prev:hover,
.magazine-carousel .owl-next:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.1);
} */

/* .magazine-carousel .owl-prev {
    left: -20px;
}

.magazine-carousel .owl-next {
    right: -20px;
}

.magazine-carousel .owl-dots {
    margin-top: 15px;
} */

/* .magazine-carousel .owl-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3) !important;
    border-radius: 50%;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.magazine-carousel .owl-dot.active {
    background: #1e3c72 !important;
    transform: scale(1.2);
} */

/* Responsive Design for Magazine Section */
@media (max-width: 768px) {
    .magazine-section {
        padding: 50px 0;
    }
    
    .magazine-card {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .magazine-title {
        font-size: 20px;
    }
    
    .magazine-subtitle {
        font-size: 13px;
    }
    
    .magazine-icon {
        width: 50px;
        height: 50px;
    }
    
    .magazine-icon i {
        font-size: 20px;
    }
    
    .magazine-image {
        height: 240px;
    }
    
    .magazine-image-container {
        height: 240px;
    }
    
    .magazine-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .magazine-section {
        padding: 35px 0;
    }
    
    .magazine-card {
        padding: 18px;
    }
    
    .magazine-title {
        font-size: 18px;
    }
    
    .magazine-image {
        height: 220px;
    }
    
    .magazine-image-container {
        height: 220px;
    }
    
    .magazine-btn {
        padding: 8px 18px;
        font-size: 12px;
    }
    
    /* .magazine-carousel .owl-prev,
    .magazine-carousel .owl-next {
        width: 35px;
        height: 35px;
        font-size: 14px;
    } */
}

.login-container {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 100%;
    max-width: 450px;
}

.login-header {
    background: linear-gradient(135deg, #3259ea 0%, #4a6cf7 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.login-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
}

.login-header p {
    margin: 10px 0 0 0;
    opacity: 0.9;
    font-size: 14px;
}

.login-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.login-tab {
    flex: 1;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
}

.login-tab.active {
    background: white;
    color: #3259ea;
    border-bottom: 3px solid #3259ea;
}

.login-tab:hover {
    background: #e9ecef;
}

.login-content {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: flex;
    margin-bottom: 8px;
    font-weight: 500;
    color: #495057;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: #3259ea;
    background: white;
    box-shadow: 0 0 0 3px rgba(50, 89, 234, 0.1);
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #3259ea 0%, #4a6cf7 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(50, 89, 234, 0.3);
}

.btn-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.text-danger {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.register-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.register-link a {
    color: #3259ea;
    text-decoration: none;
    font-weight: 500;
}

.register-link a:hover {
    text-decoration: underline;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.back-to-mobile {
    color: #3259ea;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 15px;
}

.back-to-mobile:hover {
    text-decoration: underline;
}

.back-to-mobile i {
    margin-right: 5px;
}