/* Additional PHP Template Styles */

.banner-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
}

.package-details {
    margin-bottom: 30px;
}

.package-info .meta {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.package-info .meta li {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 10px;
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 5px;
}

.package-info .meta li i {
    margin-right: 5px;
    color: #007bff;
}

.package-description h3,
.package-description h4 {
    color: #333;
    margin-top: 25px;
}

.package-description ul {
    margin: 15px 0;
    padding-left: 20px;
}

.package-description ul li {
    margin-bottom: 8px;
}

.download-section {
    margin: 30px 0;
    text-align: center;
}

.sidebar .widget {
    background: #f8f9fa;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.sidebar .widget h4 {
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

.package-meta {
    list-style: none;
    padding: 0;
}

.package-meta li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.contact-widget p {
    margin-bottom: 10px;
}

.contact-widget i {
    margin-right: 10px;
    color: #007bff;
    width: 20px;
}

.related-packages {
    list-style: none;
    padding: 0;
}

.related-packages li {
    margin-bottom: 8px;
}

.related-packages a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-packages a:hover {
    color: #007bff;
}

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta-section h3 {
    color: white;
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
}

/* PDF Download Styles */
.pdf-download-box {
    border: 2px solid #000;
    padding: 10px;
    float: right;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.pdf-download-box h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.pdf-download-box hr {
    border-top: 1px solid #2f2a2a;
    margin: 10px 0;
}

.pdf-download-box a {
    display: inline-block;
    transition: transform 0.2s ease;
}

.pdf-download-box a:hover {
    transform: scale(1.05);
}

.pdf-download-box img {
    border: 0;
    max-width: 100%;
    height: auto;
}

/* Dual PDF Downloads */
.dual-pdf-downloads {
    float: right;
    margin-bottom: 20px;
}

.dual-pdf-downloads .pdf-box {
    border: 2px solid #000;
    padding: 10px;
    margin-bottom: 10px;
    background: #fff;
    border-radius: 5px;
    text-align: center;
}

/* Contact Form Response Styling */
#formResponse {
    margin-top: 15px;
}

#formResponse .alert {
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid transparent;
    margin-bottom: 0;
}

#formResponse .alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

#formResponse .alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

#formResponse .alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

#formResponse i {
    margin-right: 8px;
}

/* Form button disabled state */
button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .package-info .meta li {
        display: block;
        margin-right: 0;
    }
    
    .banner-content h1 {
        font-size: 28px;
    }
    
    .sidebar {
        margin-top: 30px;
    }
    
    .pdf-download-box,
    .dual-pdf-downloads {
        float: none;
        width: 100%;
        margin: 20px 0;
    }
    
    .dual-pdf-downloads .pdf-box {
        display: inline-block;
        width: 48%;
        margin-right: 2%;
    }
}

/* Contact Form Response - positioned below form */
#formResponse {
    margin-top: 20px !important;
    width: 100%;
}

#formResponse .alert {
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid transparent;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#formResponse .alert-success {
    background-color: #d4edda !important;
    border-color: #c3e6cb !important;
    color: #155724 !important;
}

#formResponse .alert-danger {
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
    color: #721c24 !important;
}

#formResponse .alert-info {
    background-color: #d1ecf1 !important;
    border-color: #bee5eb !important;
    color: #0c5460 !important;
}

/* Loading spinner styling */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Button disabled state enhancement */
#submitBtn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* Fix dropdown menu hover behavior */
.main-menu .dropdown {
    position: relative;
}

.main-menu .dropdown ul {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 999;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.main-menu .dropdown:hover ul {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.main-menu .dropdown ul li {
    display: block;
    width: 100%;
    /* border-bottom: 1px solid #f0f0f0; */
}

.main-menu .dropdown ul li:last-child {
    border-bottom: none;
}

.main-menu .dropdown ul li a {
    display: block;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 13px; 
    line-height: 0.4;
}

.main-menu .dropdown ul li a:hover {
    background-color: #f8f9fa;
    color: #ffc527;
}

.main-menu .dropdown ul li.active a,
.main-menu .dropdown ul li a.active {
    background-color: #f8f9fa;  /* Yellow background */
    color: #ffc527;                /* Black text for contrast */
}

/* Ensure dropdown arrow appears on all pages */
.main-menu .dropdown > a.sf-with-ul:after,
.main-menu .dropdown > a:after {
    /* content: '\f107';
    position: absolute;
    top: 50%;
    right: 8px;
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-top-color: currentColor;
    /* transform: translateY(-50%);
    pointer-events: none; */
    font-family: FontAwesome;
    position: relative;
    margin-left: 6px;
    content: '\f107';
    font-weight: lighter;
}

.main-menu .dropdown > a {
    position: relative;
    padding-right: 10px !important;
}   