/* Enhanced Footer Styling */
.main-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.footer-top {
    padding: 80px 0 60px;
    position: relative;
    z-index: 2;
}

.footer-column {
    margin-bottom: 40px;
}

.footer-widget {
    position: relative;
    transition: all 0.3s ease;
}

.footer-widget:hover {
    transform: translateY(-5px);
}

.widget-title h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-family: 'Marcellus', serif;
}

.widget-title h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2 0%, #357abd 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-widget:hover .widget-title h3::after {
    width: 80px;
}

/* Contact Widget Styling */
.logo-widget .widget-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.logo-widget .widget-content:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Contact Info Items */
.contact-info {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.info-item i {
    color: #4a90e2;
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-content h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
    font-family: 'Marcellus', serif;
}

.info-content p {
    color: #b8c5d1;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.info-content a {
    color: #4a90e2;
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-content a:hover {
    color: #357abd;
    text-decoration: underline;
}

/* Working Hours */
.working-hours {
    margin-bottom: 25px;
}

.working-hours h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Marcellus', serif;
}

.schedule-list {
    margin-bottom: 25px;
    padding: 0;
    list-style: none;
}

.schedule-list li {
    color: #b8c5d1;
    font-size: 14px;
    line-height: 1.8;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.schedule-list li span {
    font-weight: 600;
    color: #ffffff;
}

.schedule-list li:hover {
    color: #ffffff;
    padding-left: 10px;
}

.logo-widget h3 a {
    color: #4a90e2;
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin: 20px 0;
}

.logo-widget h3 a:hover {
    color: #357abd;
    transform: scale(1.05);
}

.mail-box {
    margin: 25px 0;
}

.mail-box a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 20px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.mail-box a:hover {
    background: rgba(74, 144, 226, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.mail-box i {
    font-size: 18px;
}

.footer-logo {
    margin: 30px 0 0;
    text-align: center;
}

.footer-logo img {
    max-width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.1);
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(74, 144, 226, 0.5));
}

/* Links Widget Styling */
.links-widget .widget-content {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.links-widget .widget-content:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
}

.links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-list li {
    margin-bottom: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.links-list li::before {
    content: '→';
    position: absolute;
    left: -20px;
    top: 0;
    color: #4a90e2;
    opacity: 0;
    transition: all 0.3s ease;
    font-weight: bold;
}

.links-list li:hover::before {
    opacity: 1;
    left: -15px;
}

.links-list li a {
    color: #b8c5d1;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.6;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid transparent;
}

.links-list li a:hover {
    color: #ffffff;
    padding-left: 25px;
    border-bottom-color: rgba(74, 144, 226, 0.3);
}

/* Newsletter Widget Styling */
.facilities-widget .widget-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.facilities-widget .widget-content:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.newsletter-block-one {
    background: transparent !important;
    margin-bottom: 25px;
}

.newsletter-block-one .inner-box {
    background: transparent;
    padding: 0;
}

.newsletter-desc {
    color: #b8c5d1;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.newsletter-form {
    margin-bottom: 25px;
}

.newsletter-block-one .form-group {
    margin-bottom: 20px;
    position: relative;
}

.newsletter-block-one .form-group .icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #4a90e2;
    z-index: 2;
}

.newsletter-block-one .form-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.newsletter-block-one .form-group input::placeholder {
    color: #b8c5d1;
}

.newsletter-block-one .form-group input:focus {
    outline: none;
    border-color: #4a90e2;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.2);
}

.newsletter-block-one .theme-btn {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border: none;
    border-radius: 25px;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.newsletter-block-one .theme-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;
}

.newsletter-block-one .theme-btn:hover::before {
    left: 100%;
}

.newsletter-block-one .theme-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.4);
}

/* Social Links Footer */
.social-links-footer {
    text-align: center;
}

.social-links-footer h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Marcellus', serif;
}

.social-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link i {
    font-size: 18px;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-link.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.social-link.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-link.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
}

/* Footer Bottom Styling */
.footer-bottom {
    background: transparent;
    padding: 25px 0;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    color: #b8c5d1;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
    text-align: center;
}

.copyright a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.copyright a:hover {
    color: #357abd;
    text-decoration: underline;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-nav li a {
    color: #b8c5d1;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-nav li a:hover {
    color: #4a90e2;
}

/* Responsive Design */
@media (max-width: 991px) {
    .footer-top {
        padding: 60px 0 40px;
    }
    
    .widget-title h3 {
        font-size: 20px;
    }
    
    .bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav {
        justify-content: center;
        gap: 20px;
    }
    
    .info-item {
        padding: 12px;
    }
    
    .social-list {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 767px) {
    .footer-top {
        padding: 40px 0 30px;
    }
    
    .footer-column {
        margin-bottom: 30px;
    }
    
    .logo-widget .widget-content,
    .links-widget .widget-content,
    .facilities-widget .widget-content {
        padding: 20px;
    }
    
    .widget-title h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .schedule-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .social-list {
        gap: 10px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .social-link i {
        font-size: 16px;
    }
}

/* Animation Classes */
.footer-widget {
    animation: fadeInUp 0.6s ease-out;
}

.footer-widget:nth-child(1) { animation-delay: 0.1s; }
.footer-widget:nth-child(2) { animation-delay: 0.2s; }
.footer-widget:nth-child(3) { animation-delay: 0.3s; }
.footer-widget:nth-child(4) { animation-delay: 0.4s; }

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

/* Hover Effects */
.footer-widget {
    position: relative;
}

.footer-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05) 0%, rgba(53, 122, 189, 0.05) 100%);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.footer-widget:hover::before {
    opacity: 1;
}

/* Scroll to Top Enhancement */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.4);
}

.scroll-top-inner {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.scroll-top-inner path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawPath 2s ease-in-out infinite;
}

@keyframes drawPath {
    0% {
        stroke-dashoffset: 100;
    }
    50% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -100;
    }
} 