/* Base Styles - Matching Home Page */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
}

body {
    background-color: white;
    color: black;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles - Matching Home Page */
.tender-header {
    background-color: #00BFB3;
    padding: 15px 0;
    position: relative;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

#logo-img {
  height: 30vh;
  max-width:50vw;
  margin:auto;
}
.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.logo-text p {
    font-size: 1rem;
    margin-top: 5px;
    color: #555;
}

.post-date {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: black;
}

/* Main Content */
.tender-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin: 30px 0;
}

@media (max-width: 900px) {
    .tender-content {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        padding: 0 10px;
    }
}

/* Tender Details */
.tender-details {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tender-title {
    color: black;
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tender-subtitle {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

/* Section Styles */
.tender-section {
    margin-bottom: 35px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: black;
    font-size: 1.4rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00BFB3;
}

.section-content {
    padding-left: 10px;
}

.section-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.highlight-list {
    list-style-type: none;
    margin: 20px 0;
}

.highlight-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

.highlight-list li:last-child {
    border-bottom: none;
}

.highlight-list li i {
    position: absolute;
    left: 0;
    top: 12px;
    font-size: 1.1rem;
}

/* Check and Cross Lists */
.check-list, .cross-list {
    list-style-type: none;
    margin: 15px 0 20px 20px;
}

.check-list li, .cross-list li {
    padding: 8px 0 8px 30px;
    position: relative;
}

.check-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #00BFB3;
}

.cross-list li:before {
    content: '\f00d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #B00020;
}

/* How to Apply Section */
.apply-section {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #00BFB3;
    margin-top: 30px;
}

.apply-section .section-title {
    border-bottom: none;
    margin-bottom: 20px;
    color: black;
}

.email-container {
    margin: 20px 0;
    text-align: center;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: white;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    color: #00BFB3;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid #00BFB3;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 191, 179, 0.1);
}

.email-link:hover {
    background-color: #00BFB3;
    color: white;
    border-color: #00BFB3;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 191, 179, 0.2);
}

.email-link:focus {
    background-color: #00BFB3;
    color: white;
}

.email-link .material-icons {
    font-size: 1.2rem;
}

.deadline {
    font-weight: 700;
    color: #B00020;
    font-size: 1.1rem;
    text-align: center;
    padding: 10px;
    background-color: rgba(176, 0, 32, 0.1);
    border-radius: 6px;
    margin-top: 15px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: space-between;
    margin: 40px 0 60px;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    flex: 1;
    max-width: 250px;
}

.btn-primary {
    background-color: #00BFB3;
    color: black;
    box-shadow: 0 4px 6px rgba(0, 191, 179, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 191, 179, 0.3);
    background-color: #00a89c;
}

.btn-primary:focus {
    background-color: #00a89c;
    color: white;
}

.btn-secondary {
    background-color: white;
    color: black;
    border: 2px solid #00BFB3;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background-color: #f0fdfa;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary:focus {
    background-color: black;
    color: white;
}

.btn i.material-icons {
    font-size: 1.2rem;
}

/* Sidebar */
.tender-sidebar {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.sidebar-title {
    color: black;
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00BFB3;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-box {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #00BFB3;
    margin-bottom: 25px;
}

.contact-details {
    margin-top: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-item i {
    width: 20px;
}

.requirements-list {
    list-style-type: none;
}

.requirements-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

.requirements-list li:last-child {
    border-bottom: none;
}

.requirements-list li i {
    position: absolute;
    left: 0;
    top: 12px;
}

/* Footer - Matching Home Page */
.tender-footer {
    background-color: black;
    color: white;
    padding: 50px 20px 20px 20px;
    margin-top: 40px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 20px;
}

.footer-links a:hover {
    background-color: #00BFB3;
    color: white;
}

.footer-links a:focus {
    background-color: #00BFB3;
    border: 1px solid black;
}

.copyright {
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* WhatsApp Button - Matching Home Page */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    border-radius: 50px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    text-decoration: none;
    overflow: hidden;
    transition: width 0.4s, background-color 0.3s;
    width: 60px;
    height: 60px;
    animation: pulse 2s infinite;
}

.whatsapp-button img {
    width: 30px;
    height: 30px;
}

.whatsapp-text {
    white-space: nowrap;
    overflow: hidden;
    opacity: 0;
    font-size: 16px;
    color: white;
    transition: opacity 0.3s ease;
}

.whatsapp-button:hover {
    width: 180px;
    background-color: #1ebe57;
}

.whatsapp-button:hover .whatsapp-text {
    opacity: 1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .post-date {
        align-self: flex-start;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 10px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
    
    .tender-details, .tender-sidebar {
        padding: 20px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        max-width: 100%;
        width: 100%;
    }
    
    .email-link {
        flex-direction: column;
        padding: 12px 20px;
        text-align: center;
    }
    
    .email-link i {
        margin-bottom: 5px;
    }
}

/* Print Styles */
@media print {
    .action-buttons, .tender-footer, .whatsapp-button {
        display: none;
    }
    
    .tender-content {
        grid-template-columns: 1fr;
    }
    
    body {
        background-color: white;
    }
    
    .tender-details, .tender-sidebar {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .email-link {
        border: 1px solid #333;
        color: #333;
        text-decoration: none;
    }
}
