/*html { font-size: 16px !important;  }*/
/*h1 { font-size: 2rem !important; } */
/*p { font-size: 1rem !important; } */

/*topbar */
.email-container {
    display: flex;
    gap: 2rem;
    align-items: center;
    font-family: 'Inter', sans-serif;
}

.email-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.email-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.email-icon {
    font-size: 1.6rem;
    color: #4FC3F7;
    /*color: var(--light-color);*/
    
}

.email-text {
    /*font-size: 0.95rem;*/
    
    font-size: 1.3rem;
    font-weight: 500;
    /*color: #fff;*/
    color: var(--light-color);
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 768px) {
    .email-container {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .email-item {
        width: 100%;
        padding: 0.6rem 1rem;
    }
}


/*navbar */

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-icon {
    font-size: 1.2rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    /*box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);*/
    border-radius: 8px;
    z-index: 1;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: #333;
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
    /*color: #0066cc;*/
    padding-left: 1.5rem;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    /*background-color: #0066cc;*/
}


/* PDF Modal Styles */

/* Modal positioning */
.pdf-modal {
    position: fixed;
    top: 92px !important; 
    left: 0;
    width: 100%;
    height: calc(100vh - 92px) !important;
    /*background: rgba(0, 0, 0, 0.9);*/
    z-index: 99; /* Just below header */
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.pdf-modal.active {
    display: block;
    opacity: 1;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}


.modal-header {
    padding: 1.2rem 1.5rem;
    background-color: var(--maincolorlight);
    color: var(--light-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.download-btn {
    font-size: 1.2rem;
    background-color: #fff;
    color: var(--light-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    display: flex
;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.download-btn:hover {
    background-color: #f0f4ff;
    transform: translateY(-2px);
}

.download-btn i {
    font-size: 1.2rem;
}

.close-modal {
    background-color: var(--light-color);
    border: none;
    color: var(--maincolorlight);
    font-size: 2.8rem;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease;
    padding: 0 0.5rem;
    border-radius: 50%;
}

.close-modal:hover {
    transform: rotate(90deg);
}

.modal-body {
    flex: 1;
    padding: 0;
    overflow-y: auto; /* Enable scrolling only for body */
}

.modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        height: 95%;
    }
    
    .modal-header {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .modal-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .download-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
        
    }
}

@media (max-width: 480px) {
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .download-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .close-modal {
        font-size: 1.5rem;
    }
}
body.modal-active {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}



/*for show success or error message while contact form submission*/
.success {
    color: #28a745;
    text-align: center;
    margin: 20px 0;
    font-size: 1.2rem;
}

.error {
    color: #dc3545;
    text-align: center;
    margin: 20px 0;
    font-size: 1.2rem;
}