/* ============================================
   MODERN ENHANCEMENTS - UPDATED VERSION
   Footer, Buttons, Forms, Navbar - All Enhanced
   ============================================ */

/* ========== NAVBAR HEIGHT FIX ========== */
.header-upper {
    padding: 15px 0 !important;
}

.header-upper .logo-box .logo img {
    max-height: 70px !important;
    width: auto;
}

.sticky-header .logo-box .logo img {
    max-height: 60px !important;
}

/* STICKY HEADER - FINAL FIX FOR DUPLICATE ISSUE */
.sticky-header {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 9999 !important;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: all 0.3s ease-in-out !important;
}

/* Show sticky header ONLY when scrolled */
.sticky-header.fixed-header {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Ensure main header stays in normal flow */
.main-header {
    position: relative;
    z-index: 999;
}

/* FIX: Contact Section Text Visibility */
.contact-section .content-box,
.contact-section .content-box p,
.contact-section .content-box h3,
.contact-section .content-box .phone,
.contact-section .content-box .phone a,
.contact-section .content-box address,
.google-map-section .text-inner,
.google-map-section .text-inner p,
.google-map-section .text-inner h3,
.google-map-section .text-inner .phone a {
    color: #ffffff !important;
}

.contact-section .content-box h3,
.google-map-section .text-inner h3 {
    font-weight: 600 !important;
    margin-bottom: 15px !important;
}

.main-menu .navigation > li {
    padding: 0 15px;
}

.main-menu .navigation > li > a {
    padding: 25px 0 !important;
    font-size: 15px;
}

/* Mobile menu logo */
.mobile-menu .nav-logo img {
    max-height: 70px !important;
}

/* Sidebar logo */
.sidebar-info-contents .logo img {
    max-height: 60px !important;
}

/* ========== MODERN FOOTER DESIGN ========== */
.main-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066cc 0%, #8ecd1c 50%, #0066cc 100%);
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Footer Logo Modern Design */
.footer-widget.logo-widget {
    text-align: center;
}

.footer-widget .footer-logo {
    margin-bottom: 25px;
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 15px;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-widget .footer-logo:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.footer-widget .footer-logo img {
    max-height: 80px !important;
    width: auto;
    filter: brightness(1.2);
}

.footer-widget {
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

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

.footer-widget h3 {
    color: #fff !important;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #8ecd1c);
    border-radius: 2px;
}

.footer-widget .links-list li {
    margin-bottom: 12px;
}

.footer-widget .links-list li a {
    color: rgba(255,255,255,0.8) !important;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 20px;
}

.footer-widget .links-list li a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-widget .links-list li a:hover {
    color: #fff !important;
    padding-left: 25px;
}

.footer-widget .links-list li a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-social li {
    display: inline-block;
    margin-right: 10px;
}

.footer-social li a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.footer-social li a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #0066cc, #8ecd1c);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.footer-social li a:hover::before {
    width: 100%;
    height: 100%;
}

.footer-social li a i {
    position: relative;
    z-index: 1;
    color: #fff;
}

.footer-social li a:hover {
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    margin-top: 50px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-widget .info-list li {
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.footer-widget .info-list li::before {
    content: '📍';
    position: absolute;
    left: 0;
}

.footer-widget .info-list li a {
    color: rgba(255,255,255,0.9);
    transition: color 0.3s ease;
}

.footer-widget .info-list li a:hover {
    color: #8ecd1c;
}

/* ========== MODERN BUTTON ANIMATIONS ========== */
.btn-one,
.btn-two,
.theme-btn,
button[type="submit"],
.default-form button {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border-radius: 50px;
    padding: 15px 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
}

/* Ripple effect */
.btn-one::before,
.btn-two::before,
.theme-btn::before,
button[type="submit"]::before,
.default-form button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-one:hover::before,
.btn-two:hover::before,
.theme-btn:hover::before,
button[type="submit"]:hover::before,
.default-form button:hover::before {
    width: 300px;
    height: 300px;
}

.btn-one:hover,
.theme-btn:hover,
button[type="submit"]:hover,
.default-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-two:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.1);
}

/* Button pulse animation */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 102, 204, 0);
    }
}

.btn-one:hover,
.theme-btn:hover {
    animation: pulse 1.5s infinite;
}

/* ========== MODERN CONTACT FORM DESIGN ========== */
.contact-section .form-inner,
.contact-page-section .form-inner {
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.default-form .form-group {
    position: relative;
    margin-bottom: 30px;
}

.default-form .form-group input,
.default-form .form-group textarea,
.default-form .form-group select {
    width: 100%;
    padding: 18px 25px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #2d3748;
}

.default-form .form-group input:focus,
.default-form .form-group textarea:focus,
.default-form .form-group select:focus {
    outline: none;
    border-color: #0066cc;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
}

/* Floating label effect */
.default-form .form-group label {
    position: absolute;
    top: 18px;
    left: 25px;
    font-size: 16px;
    color: #718096;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
    padding: 0 5px;
}

.default-form .form-group input:focus + label,
.default-form .form-group input:not(:placeholder-shown) + label,
.default-form .form-group textarea:focus + label,
.default-form .form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 20px;
    font-size: 12px;
    color: #0066cc;
    background: #fff;
}

/* Form button styling */
.default-form button[type="submit"] {
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    padding: 18px 40px;
    border-radius: 12px;
    transition: all 0.4s ease;
}

.default-form button[type="submit"]:hover {
    background: linear-gradient(135deg, #004999 0%, #0066cc 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
}

/* Contact info box */
.contact-section .content-box,
.contact-page-section .content-box {
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    padding: 50px;
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.contact-section .content-box h2,
.contact-page-section .content-box h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-section .content-box p,
.contact-page-section .content-box p {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
}

.contact-section .info-list li,
.contact-page-section .info-list li {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}

.contact-section .info-list li h4,
.contact-page-section .info-list li h4 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 8px;
}

/* ========== SMOOTH ANIMATIONS ========== */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

/* ========== CARD HOVER EFFECTS ========== */
.service-block-one .inner-box,
.team-block-one .inner-box,
.testimonial-block-one .inner-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-block-one:hover .inner-box,
.team-block-one:hover .inner-box,
.testimonial-block-one:hover .inner-box {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-block-one .image-box img,
.team-block-one .image-box img,
.project-block-one .image-box img {
    transition: transform 0.4s ease;
}

.service-block-one:hover .image-box img,
.team-block-one:hover .image-box img,
.project-block-one:hover .image-box img {
    transform: scale(1.08);
}

/* ========== ICON ANIMATIONS ========== */
.service-block-one .icon-box,
.chooseus-block-one .inner-box h3 i,
.funfact-block-one .icon-box {
    transition: transform 0.3s ease;
}

.service-block-one:hover .icon-box,
.chooseus-block-one:hover .inner-box h3 i,
.funfact-block-one:hover .icon-box {
    transform: scale(1.15) rotate(10deg);
}

/* ========== COUNTER ANIMATION ========== */
.count-text {
    transition: all 0.3s ease;
}

/* ========== IMAGE HOVER EFFECTS ========== */
.about-section .image-box img,
.chooseus-section .image-box img {
    transition: transform 0.4s ease;
}

.about-section .image-box:hover img,
.chooseus-section .image-box:hover img {
    transform: scale(1.03);
}

/* ========== NAVIGATION HOVER ========== */
.main-menu .navigation > li > a {
    position: relative;
    transition: color 0.3s ease;
}

.main-menu .navigation > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #0066cc;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-menu .navigation > li:hover > a::after,
.main-menu .navigation > li.current > a::after {
    width: 80%;
}

/* ========== LINK HOVER EFFECTS ========== */
a {
    transition: color 0.3s ease;
}

/* ========== CUSTOM SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0066cc, #8ecd1c);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #004999, #6ba515);
}

/* ========== SELECTION COLOR ========== */
::selection {
    background: #0066cc;
    color: #fff;
}

::-moz-selection {
    background: #0066cc;
    color: #fff;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 991px) {
    .header-upper .logo-box .logo img {
        max-height: 60px !important;
    }
    
    .main-menu .navigation > li > a {
        padding: 20px 0 !important;
    }
}

@media (max-width: 767px) {
    .service-block-one:hover .inner-box,
    .team-block-one:hover .inner-box,
    .testimonial-block-one:hover .inner-box {
        transform: none;
    }
    
    .contact-section .form-inner,
    .contact-page-section .form-inner {
        padding: 30px;
    }
    
    .contact-section .content-box,
    .contact-page-section .content-box {
        padding: 30px;
        margin-top: 30px;
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
}

/* ========== SCROLL TO TOP BUTTON ========== */
.scroll-top {
    background: linear-gradient(135deg, #0066cc, #8ecd1c);
    transition: all 0.3s ease;
}

.scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.4);
}

/* ========== LOADING ANIMATION ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.8s ease-out;
}


/* ========== SERVICE PAGE MODERN BUTTONS ========== */
.feature-block-one .inner-box {
    position: relative;
    padding-bottom: 80px;
}

.service-buttons-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.service-btn {
    flex: 1;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    text-align: center;
    display: inline-block;
}

.service-btn-read {
    background: linear-gradient(135deg, #8ecd1c 0%, #6ba515 100%);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(142, 205, 28, 0.3);
}

.service-btn-book {
    background: linear-gradient(135deg, #e08c0d 0%, #c77a0a 100%);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(224, 140, 13, 0.3);
}

.service-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.service-btn:hover::before {
    width: 300px;
    height: 300px;
}

.service-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.service-btn-read:hover {
    box-shadow: 0 8px 25px rgba(142, 205, 28, 0.5);
}

.service-btn-book:hover {
    box-shadow: 0 8px 25px rgba(224, 140, 13, 0.5);
}

/* ========== BOOK NOW PAGE MODERN FORM ========== */
.registration-form {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%) !important;
    padding: 50px !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15) !important;
    max-width: 900px !important;
    margin: 50px auto !important;
    border: 1px solid rgba(0,0,0,0.05);
}

.registration-form h2 {
    color: #1a202c !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    margin-bottom: 40px !important;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.registration-form h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #8ecd1c);
    border-radius: 2px;
}

.registration-form .row {
    margin-left: -15px;
    margin-right: -15px;
}

.registration-form .row > div {
    padding-left: 15px;
    padding-right: 15px;
}

.registration-form .form-group {
    margin-bottom: 25px;
    position: relative;
}

.registration-form .form-group label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.registration-form .form-control {
    padding: 15px 20px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    background: #f8f9fa !important;
    color: #2d3748 !important;
    width: 100%;
}

.registration-form .form-control:focus {
    outline: none !important;
    border-color: #0066cc !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1) !important;
    transform: translateY(-2px);
}

.registration-form select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232d3748' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px !important;
}

.registration-form textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.registration-form .btn-submit {
    width: 100% !important;
    padding: 18px 40px !important;
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.4s ease !important;
    cursor: pointer !important;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.registration-form .btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.registration-form .btn-submit:hover::before {
    width: 400px;
    height: 400px;
}

.registration-form .btn-submit:hover {
    background: linear-gradient(135deg, #004999 0%, #0066cc 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4) !important;
}

.registration-form .btn-submit.btn-success {
    background: linear-gradient(135deg, #8ecd1c 0%, #6ba515 100%) !important;
}

.registration-form .btn-submit.btn-success:hover {
    background: linear-gradient(135deg, #6ba515 0%, #8ecd1c 100%) !important;
    box-shadow: 0 10px 30px rgba(142, 205, 28, 0.4) !important;
}

.registration-form .alert-info {
    animation: fadeInScale 0.5s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Payment Button */
.payment-btn {
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, #8ecd1c 0%, #6ba515 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.payment-btn:hover {
    background: linear-gradient(135deg, #6ba515 0%, #8ecd1c 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(142, 205, 28, 0.4);
}

/* Responsive */
@media (max-width: 767px) {
    .registration-form {
        padding: 30px !important;
        margin: 30px 15px !important;
    }
    
    .registration-form h2 {
        font-size: 24px !important;
    }
    
    .registration-form .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .registration-form .row > div {
        padding-left: 0;
        padding-right: 0;
    }
}


/* ========== PAGE TITLE SECTION FIX ========== */
.page-title {
    padding-top: 180px !important;
    padding-bottom: 100px !important;
    position: relative;
    z-index: 1;
}

/* Ensure header stays on top */
.main-header {
    position: relative;
    z-index: 999;
}

/* Sticky header CSS is defined above - no duplicate needed */

/* Fixed header animation */
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Fix for book-now page specifically */
body .page-title {
    margin-top: 0 !important;
}

/* Ensure content doesn't overlap with fixed header */
.boxed_wrapper {
    position: relative;
}
